Re: Popen3 on Windows

2006-06-18 Thread reed
Jeffrey Barish wrote: > I have an application that has been working fine on Linux, but now I need to > port it to Windows XP. The program uses Popen3 to run another program. I > use Popen3 so that I can access the pid attribute, which I use to kill the > auxiliary program when necessary. Popen3

Re: Popen3 on Windows

2006-06-17 Thread SuperHik
Dennis Lee Bieber wrote: > On Sat, 17 Jun 2006 11:46:29 -0600, Jeffrey Barish > <[EMAIL PROTECTED]> declaimed the following in comp.lang.python: > >> I start. Is there a way to do this on Windows? > > There is no safe, easy, way to reliably kill a program on Windows... > > Hmmm, there's o

Popen3 on Windows

2006-06-17 Thread Jeffrey Barish
I have an application that has been working fine on Linux, but now I need to port it to Windows XP. The program uses Popen3 to run another program. I use Popen3 so that I can access the pid attribute, which I use to kill the auxiliary program when necessary. Popen3 does not exist on Windows. I

popen3 on windows

2006-04-28 Thread John
Hello. Can anyone tell me how to get p.poll() or a workaound to work when using popen3() on windows? I use python 2.3. I am trying to launch a command window to execute a command and then check periodically to see if the command has finished executing. If it has not finished after a given