[issue1606] Doc: subprocess wait() may lead to dead lock

Christian Heimes report at bugs.python.org
Thu Dec 13 03:04:38 CET 2007


New submission from Christian Heimes:

The subprocess docs need a warning that code like

p = subprocess.Popen(..., stdout=STDOUT)
p.wait()
p.stdout.read()

can block indefinitely if the program fills the stdout buffer. It needs
an example how to do it right but I don't know the best way to solve the
problem.

----------
components: Documentation
messages: 58514
nosy: tiran
priority: normal
severity: normal
status: open
title: Doc: subprocess wait() may lead to dead lock
versions: Python 2.6, Python 3.0

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1606>
__________________________________


More information about the Python-bugs-list mailing list