[issue14872] subprocess is not safe from deadlocks

Ross Lagerwall report at bugs.python.org
Tue May 22 07:16:54 CEST 2012


Ross Lagerwall <rosslagerwall at gmail.com> added the comment:

Well if you're *certain* that the process is only using one stream, then you can just use read/write on that stream.

If not, it probably means you have to use either threads or select/poll.

This is a known issue with subprocess; there are a few proposals on the tracker about this. See issue1191964 for example.

----------
nosy: +rosslagerwall

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


More information about the Python-bugs-list mailing list