[issue1495802] cygwin: popen3 lock up

Charles-François Natali report at bugs.python.org
Thu Jun 2 12:03:12 CEST 2011


Charles-François Natali <neologix at free.fr> added the comment:

It's not a bug.
so.readlines reads the subprocess' stdout until EOF is encountered, but in the meantime, if it writes a lot to stderr, the corresponding pipe fills up, and the subprocess blocks on the write.
You should use Popen's communicate method.

Closing as invalid.

----------
nosy: +charles-francois.natali
resolution:  -> invalid
stage: test needed -> committed/rejected
status: open -> closed

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


More information about the Python-bugs-list mailing list