[issue1396825] subprocess: wait for a period of time

gd2shoe report at bugs.python.org
Sat Aug 23 00:22:23 CEST 2008


gd2shoe <gd2shoe at gmail.com> added the comment:

This is just common sense.  I'm trying to avoid a poll() busy-wait
section of code.  I'll figure it out, but it would be much, much easier
if wait accepted a number of seconds, and returned None if the process
was still going (cf. Popen.poll() ).

I'm much happier with subprocess than os.popen*.  I'm also glad that
Popen.kill() is slated for 3.0 .

Since this isn't in the 3.0b3 documentation, I assume this either isn't
fixed or planned?  Are there implementation difficulties?

----------
nosy: +gd2shoe

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1396825>
_______________________________________


More information about the Python-bugs-list mailing list