Problem with subprocess.Popen()
The Cruisemaniac
ashwin.murali at gmail.com
Wed Aug 1 05:03:59 EDT 2007
Hi all,
I'm trying to run a windows batch file from a python script using
subprocess.popen().
The issue that I'm facing is that, if i give the batch file as
parameter to the popen function, the script runs, but if i provide a
parameter, it is not working.
Can someone help me with the command.
The actual windows command to be executed is:
test.bat -t ABC_DE_FG_HI_001 "C:\ABCDEFGHIJKLMNOP.TXT"
What is the actual parameter required for subprocess.Popen(parameter
chain) in this case??
Kindly help me out...
Regards and Thanks in advance...
Ashwin Murali.
More information about the Python-list
mailing list