Re: How to run a dos executable from python

2006-01-26 Thread Larry Bates
lblr33 wrote: > I have an executable (e.g. myprog.exe) which takes some set number of > arguments. > > This command works ok: > os.system(r"c:\tmp\myprog.exe arg1 arg2 arg3") > > The problem is that the path to the program and the arguments are > variable at runtime so I need to pass them as argu

Re: How to run a dos executable from python

2006-01-26 Thread Fredrik Lundh
"lblr33" wrote: > I have an executable (e.g. myprog.exe) which takes some set number of > arguments. > > This command works ok: > os.system(r"c:\tmp\myprog.exe arg1 arg2 arg3") > > The problem is that the path to the program and the arguments are > variable at runtime so I need to pass them as arg

How to run a dos executable from python

2006-01-26 Thread lblr33
I have an executable (e.g. myprog.exe) which takes some set number of arguments. This command works ok: os.system(r"c:\tmp\myprog.exe arg1 arg2 arg3") The problem is that the path to the program and the arguments are variable at runtime so I need to pass them as arguments. Thanks -- http://