No, this is intended behaviour. Env changes only the environment for the command that may follow the environment changes. For example, "env GSPATH=d:\util gswin ... " sets temporariliy an environment variable GSPATH, which is then recognized by gswin.After executing gswin ..., the environment is as before.

Kees Zeelenberg

----- Original Message ----- From: "Bernd Fuhrmann" <[EMAIL PROTECTED]>
To: <gnuwin32-users@lists.sourceforge.net>
Sent: Saturday, March 12, 2005 6:15 PM
Subject: [GnuWin32-Users] env doesn't seem to work



Hi!

I have some trouble using env.exe from coreutils (5.2.1-1). I'd like to give you an example:

running cmd.exe (from Windows XP):
cd c:\Programme\GnuWin32\bin
env one=one two=two three=three env

won't show any new variables as environment variable.

I seems unlikely to me that this is a bug of env.exe of GnuWin32 because that would mean that env.exe was not tested at all. So I guess there must be something in my environment. Any ideas what could cause such a strange behaviour?

Thanks in advance
Bernd Fuhrmann


------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ GnuWin32-Users mailing list GnuWin32-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gnuwin32-users






------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ GnuWin32-Users mailing list GnuWin32-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gnuwin32-users

Reply via email to