running shell scripts
David T-G
davidtg-cygwin@justpickone.org
Mon Jun 10 11:38:00 GMT 2002
Mathias, et al --
...and then Mathias Gygax said...
%
% On Mon, Jun 10, 2002 at 09:34:55AM -0500, wayne wrote:
% > Or you could just do bash ./someprogram
%
% or just
%
% . someprogram
Well, yes, but be careful about that, because you're then running the
script in the context of your shell instead of a subshell. Any env vars
you change will stay changed, and if your shell ends with an exit then
your window will happily close.
HTH & HAND
:-D
--
David T-G * It's easier to fight for one's principles
(play) davidtg@justpickone.org * than to live up to them. -- fortune cookie
(work) davidtgwork@justpickone.org
http://www.justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20020610/5baa72b1/attachment.sig>
More information about the Cygwin
mailing list