[New-bugs-announce] [issue1344] subprocess.communication doc could use clarification

Dean Sturtevant report at bugs.python.org
Sat Oct 27 19:15:09 CEST 2007

New submission from Dean Sturtevant:

It would be helpful for the documentation for subprocess.communicate to
point out that when Popening a process, stdin=PIPE needs to be set if
the input parameter to communicate is to have any meaning. Similary,
stdout=PIPE and stderr=PIPE need to be set in order for the respective
component of the return value not to be None. That is, if that is indeed
correct (I observed this using Python 2.5 (r25:51908, Sep 19 2006,
09:52:17) [MSC v.1310 32 bit (Intel)] on win32)

components: Documentation
messages: 56858
nosy: dsturtevant
severity: normal
status: open
title: subprocess.communication doc could use clarification
versions: Python 2.5

Tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list