popen / batchfile
popen / batchfile / environment variables
Achim Domma achim.domma at syynx.deTue Nov 19 13:37:52 EST 2002
- Previous message (by thread): popen / batchfile / environment variables
- Next message (by thread): popen / batchfile / environment variables
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello, I want to write a python script with automaticaly builds a VC.Net solution. To make VS.Net usable from commandline, I first have to execute a batchfile which sets the required environment variables. In a Dos-Box I would do something like this: path_to\vcvars32.bat devenv solution_file.sln /rebuild "Release" If I use popen or system to do the same, every call runs in his own environment, so the changes made by the .bat file do not change the settings for the second call. Any idea how to do that in python? regards, Achim
- Previous message (by thread): popen / batchfile / environment variables
- Next message (by thread): popen / batchfile / environment variables
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list