running shell scripts

Mathias Gygax mg@trash.net
Mon Jun 10 12:10:00 GMT 2002


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/



More information about the Cygwin mailing list