[issue2475] Popen.poll always returns None

reiko report at bugs.python.org
Mon Jul 28 15:03:35 CEST 2008


reiko <j.k.langridge at gmail.com> added the comment:

I have also run into this problem.  If you only use p.poll() and never
p.wait(), returncode will always remain None.

roudkerk's workaround doesn't seem to work with the new Popen objects,
at least in python 2.4.  ("unexpected keyword argument '_deadstate'") 
Does anyone have a workaround for subprocess.Popen?  Do I have to switch
to the deprecated popen function(s)?

----------
nosy: +reiko

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


More information about the Python-bugs-list mailing list