Sounds like a good idea for new task. Unfortunately the .Net framework has no facilites for setting env vars ( believe it or not ) so this would have to use PInvoke or managed C++.

Ian


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:nant-users-admin@;lists.sourceforge.net]On Behalf Of Patrick Näf
Sent: woensdag, oktober 30, 2002 3:26 PM
To: [EMAIL PROTECTED]
Subject: [Nant-users] Environment


I'm looking for a way to set one or more environment variables when running
an external program with the <exec> task. I didn't see any documentation for
this, nor could I find any hint when I snooped around in the source files of
the latest nightly build.

Have I missed something?

Patrick


-------------------------------------------------------
This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users





-------------------------------------------------------
This sf.net email is sponsored by: Influence the future
of Java(TM) technology. Join the Java Community
Process(SM) (JCP(SM)) program now.
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to