Re: command string good in subprocess.Popen(string) fails in process.Process(string)

2005-05-16 Thread Trent Mick
[Earl Eiland wrote] > > The command string consists of "filename.exe instruction1 instruction2 > ..." It works in subprocess, but in process, returns the error "can't > find the file instruction1". > > How do I pass command line instructions in process.Process? I tried a > list ['filename.exe'

Re: command string good in subprocess.Popen(string) fails in process.Process(string)

2005-05-16 Thread Peter Hansen
Earl Eiland wrote: > from Trent Mick [EMAIL PROTECTED]: > "You might be able to use or borrow code from my process.py module. Few here have ever heard of it, I suspect. Maybe you should ask Trent for help? > >>Earl Eiland wrote: >> >>>The command string consists of "filename.exe instruction1 i

Re: command string good in subprocess.Popen(string) fails in process.Process(string)

2005-05-16 Thread Earl Eiland
from Trent Mick [EMAIL PROTECTED]: "You might be able to use or borrow code from my process.py module. process.py is very similar to Python 2.4's subprocess. It provides a ProcessOpen class (similar to subprocess' Popen). A ProcessOpen instance has wait() and kill() methods that work fine on Window

Re: command string good in subprocess.Popen(string) fails in process.Process(string)

2005-05-16 Thread Peter Hansen
Earl Eiland wrote: > The command string consists of "filename.exe instruction1 instruction2 > ..." It works in subprocess, but in process, returns the error "can't > find the file instruction1". > > How do I pass command line instructions in process.Process? I tried a > list ['filename.exe', 'i