[issue6445] Add check parameter to subprocess.Popen.communicate

OG7 report at bugs.python.org
Thu Jul 9 11:29:53 CEST 2009


New submission from OG7 <onyxg7 at users.sourceforge.net>:

communicate is often used in one-liners, but becomes a four-liner if you
want to check the process exit status. Adding a check parameter would
make it more convenient to get things right and write non-buggy code.

The CalledProcessError requires a cmd argument, which means also adding
a cmd member to Popen objects.

----------
messages: 90318
nosy: OG7
severity: normal
status: open
title: Add check parameter to subprocess.Popen.communicate

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


More information about the Python-bugs-list mailing list