Re: [SOLVED] Calling multiple programs with subprocess

2010-04-30 Thread Amit Uttamchandani
On Sat, Apr 24, 2010 at 08:22:14AM +0530, Kushal Kumaran wrote: [snip] Run a shell (cmd.exe, I think) using subprocess and send it the commands you want to run using the communicate() method. Actually, I ended up using stdin.write('...\n'), and it works as expected: # #

Re: Calling multiple programs with subprocess

2010-04-23 Thread Amit Uttamchandani
On Thu, Apr 22, 2010 at 10:12:47PM -0400, Dave Angel wrote: amit wrote: 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.