Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Mon, 10 Jun 2002 11:36:46 -0500
From: David T-G <davidtg-cygwin@justpickone.org>
To: "CygWin Users' List" <cygwin@cygwin.com>
Subject: Re: running shell scripts
Message-ID: <20020610163645.GJ12375@justpickone.org>
References: <076e01c21059$1cfd6ee0$0200a8c0@weiss> <20020610134334.GC18671@chiba.dyndns.org> <20020610093455.A19207@reliant.immure.com> <20020610154317.GE18671@chiba.dyndns.org>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="6J7GEvtanOfV9oXA"
Content-Disposition: inline
In-Reply-To: <20020610154317.GE18671@chiba.dyndns.org>
User-Agent: Mutt/1.4i

--6J7GEvtanOfV9oXA
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Mathias, et al --

=2E..and then Mathias Gygax said...
%=20
% On Mon, Jun 10, 2002 at 09:34:55AM -0500, wayne wrote:
% > Or you could just do bash ./someprogram
%=20
% or just
%=20
% . 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
--=20
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!


--6J7GEvtanOfV9oXA
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9BNWdGb7uCXufRwARAlulAKCWfBxPmvaMvZTGzNPZTvsnd1g3GQCg5O6D
K9c0WONgrIoynLGJgiQGt2o=
=Fb12
-----END PGP SIGNATURE-----

--6J7GEvtanOfV9oXA--
