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


On Mon, Jun 10, 2002 at 11:36:46AM -0500, David T-G wrote:
> % . 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.

well, what about

% (. someprogram)

:-D

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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