[issue10197] subprocess.getoutput fails on win32
Éric Araujo
report at bugs.python.org
Sun Dec 5 02:37:15 CET 2010
Éric Araujo <merwok at netwok.org> added the comment:
> The question that remains is, does removing the {} change the output
> obtained from a command sequence in any way?
{} are used to group output from the commands into one stream. I believe the stdout and stderr arguments to Popen allow us to get compatible behavior. Tests need to prove that, of course.
> Which makes me wonder if getoutput/getstatusoutput should just be
> documentationally deprecated instead. (I never use them myself, FWIW)
They were relocated from the commands module, resulting in slightly overlapping functions that don’t share a naming patter: call, check_call, getoutput, getstatusoutput.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10197>
_______________________________________
More information about the Python-bugs-list
mailing list