[issue13238] Add shell command helpers to shutil module

Nick Coghlan report at bugs.python.org
Tue Oct 25 14:20:14 CEST 2011


Nick Coghlan <ncoghlan at gmail.com> added the comment:

I discovered a couple of APIs that were moved from the commands module to the subprocess module in 3.0:
http://docs.python.org/dev/library/subprocess#subprocess.getstatusoutput

However, they have issues, especially on Windows: http://bugs.python.org/issue10197

So part of this patch would include deprecating those two interfaces in favour of the new shutil ones - the existing APIs break the subprocess promise of never invoking the shell implicitly.

----------

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


More information about the Python-bugs-list mailing list