[issue14879] invalid docs for subprocess exceptions with shell=True

Nick Coghlan report at bugs.python.org
Sat Jul 7 12:42:19 CEST 2012


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

I would add a simple note to the exceptions section:

"Note, when "shell=True", OSError will be raised by the child only if the selected shell itself cannot be found. To determine if the shell failed to find the requested application, it is necessary to check the return code or output from the subprcess."

----------

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


More information about the Python-bugs-list mailing list