Re: [Python-Dev] Functionality in subprocess.Popen.terminate()

2009-08-05 Thread Nick Coghlan
Janzert wrote: > Eric Pruitt wrote: >> Sounds good enough to me but I was wondering if it might be a good >> idea to add a function like "pidinuse" to subprocess as a whole that >> would determine if a process ID was being used and return a simple >> boolean value. I came across a number of people

Re: [Python-Dev] Functionality in subprocess.Popen.terminate()

2009-08-04 Thread Janzert
Eric Pruitt wrote: > On Tue, Aug 4, 2009 at 04:27, Nick Coghlan wrote: >> Eric Pruitt wrote: >>> In my GSoC project, I have implemented asnychronous I/O in >>> subprocess.Popen. Since the read/write operations are asynchronous, the >>> program may have already exited by the time one calls the async

Re: [Python-Dev] Functionality in subprocess.Popen.terminate()

2009-08-04 Thread Eric Pruitt
On Tue, Aug 4, 2009 at 04:27, Nick Coghlan wrote: > Eric Pruitt wrote: >> In my GSoC project, I have implemented asnychronous I/O in >> subprocess.Popen. Since the read/write operations are asynchronous, the >> program may have already exited by the time one calls the asyncread >> function I have i

Re: [Python-Dev] Functionality in subprocess.Popen.terminate()

2009-08-04 Thread Nick Coghlan
Eric Pruitt wrote: > In my GSoC project, I have implemented asnychronous I/O in > subprocess.Popen. Since the read/write operations are asynchronous, the > program may have already exited by the time one calls the asyncread > function I have implemented. While it returns the data just fine, I have

[Python-Dev] Functionality in subprocess.Popen.terminate()

2009-08-03 Thread Eric Pruitt
In my GSoC project, I have implemented asnychronous I/O in subprocess.Popen. Since the read/write operations are asynchronous, the program may have already exited by the time one calls the asyncread function I have implemented. While it returns the data just fine, I have come across an issue with t