[linux-elitists] Re: CLI/Cygwin

Karsten M. Self kmself@ix.netcom.com
Tue Jan 6 18:04:32 PST 2004


on Wed, Jan 07, 2004 at 01:42:00AM +0000, Michael Shields (shields@msrl.com) wrote:
> In message <20040106200224.GC32512@ix.netcom.com>,
> "Karsten M. Self" <kmself@ix.netcom.com> wrote:
> > I typically keep a script "launch" for backgrounding processes out of
> > job control:
> >
> > ------------------------------------------------------------------------
> > #!/bin/bash
> > # launch arguments
> > exec $@ &
> 
> This should be:
> 
>     exec "$@" &
> 
> Without the quotes, arguments with spaces will not be handled
> correctly.

Point...  I think.

> Also, there is no reason for this to be a bash script instead of an
> sh script.

I tend to assume bash, though you're right.


Peace.

-- 
Karsten M. Self <kmself@ix.netcom.com>        http://kmself.home.netcom.com/
 What Part of "Gestalt" don't you understand?
  The revolution will not be televised.
  You can apt-get it from the usual mirrors, however.     http://www.debian.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://allium.zgp.org/pipermail/linux-elitists/attachments/20040106/a23612c9/attachment.pgp 


More information about the linux-elitists mailing list