This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: running shell scripts


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!

Attachment: msg00534/pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]