[issue32102] Add "capture_output=True" option to subprocess.run

Barry A. Warsaw report at bugs.python.org
Tue Nov 21 09:25:37 EST 2017


Barry A. Warsaw <barry at python.org> added the comment:

Yeah, I find it pretty common to set both stdout and stderr to PIPE, but I'm with you in hesitating to add YAO to the subprocess API.  If you do move forward with this though, I think capture_output would have to be mutually exclusive to stdout and stderr.  You should not be allowed to provide either of the latter two if the former is given.

----------
nosy: +barry

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32102>
_______________________________________


More information about the Python-bugs-list mailing list