OS.SYSTEM ERROR !!!
lists at cheimes.de
Tue Sep 30 20:08:16 CEST 2008
Blubaugh, David A. wrote:
> To All,
> I have been attempting to execute the following program within the
> Python environment:
> Myprogram.exe, which means this is an executable file!!
> I would usually execute this program (with the appropriate arguments) by
> going to following directory within MS-DOS (Windows XP):
> C:\myprogramfolder\run> Myprogram.exe 1 1 acc 0
> The executable would execute perfectly.
> However, when I would try to execute the following lines of source code
> within a python script file:
> import os
> os.system(r"C:\myprogramfolder\run\Myprogram.exe 1 1 acc 0")
retval = subprocess.call(
['Myprogram.exe', '1', '1', 'acc', '0'],
More information about the Python-list