Calling multiple programs with subprocess

amit amit.uttam at
Thu Apr 22 22:03:22 CEST 2010

How does one go about calling multiple programs using subprocess?

This is the program flow:

C:\> wrenv.exe
C:\> make clean

The 'wrenv.exe' is necessary since it sets up the proper environment
for building. How do I use subprocess to execute 'wrenv.exe' and then
the 'make clean' command.

Any help is appreciated.


More information about the Python-list mailing list