[issue5673] Add timeout option to subprocess.Popen

Reid Kleckner report at bugs.python.org
Wed Jul 21 09:13:47 CEST 2010


Reid Kleckner <rnk at mit.edu> added the comment:

When I ported the patch I tested on trunk + Windows to py3k, I messed that stuff up.  I also had to fix a bunch of str vs. bytes issues this time around.  On Windows, it uses TextIOWrapper to do the encoding, and on POSIX it uses os.write, so I have to do the encoding myself.  :p

This patch has been tested on Windows Vista and Mac OS X 10.5.

----------
Added file: http://bugs.python.org/file18101/subprocess-timeout-py3k-v7.patch

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


More information about the Python-bugs-list mailing list