Re: gmc neverceases to amaze



On 21 Jun 1999, Andrew Smith wrote:

> "Thomas R. Shannon" <tshanno@bsd.medctr.luc.edu> writes:
> 
> > > GMC will create a new window in the current working directory when you
> > > run it.  So you just need to "cd /usr; gmc".
> > 
> > Hmmm.  I thought this would work but it didn't.  I get the message
> > "/home/tshanno/cd not found".
> > 
> > Is there a way to avoid this?
> 
> It seems Window Maker is parsing the command line itself and it can't
> use cd because it's a shell builtin.  One way (tested) is to have a
> command line like:
> 
>     sh -c 'cd /usr; gmc'
> 

Yep, this worked.  Thanks to all,
Tom
-------------
Quote of the day for Monday, 21 June, 1999:

"Booze may not be the answer, but it helps you to forget the
question."

  - Lt. Henry Mon, USAF




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]