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

Chris Rebert report at bugs.python.org
Wed May 23 07:04:59 CEST 2012

Chris Rebert <pybugs at rebertia.com> added the comment:

The term "invalid arguments" in "A ValueError will be raised if Popen is called with invalid arguments." is still vague. One could well argue that a nonexistent executable or bad command is "invalid". Anything resulting in an OSError can be considered "invalid" in a sense. The ValueError sentence should use a different descriptor or else include a qualifier.

+1 on calling out the shell=True case.
(My but how the `shell` argument complicates everything...)


Python tracker <report at bugs.python.org>

More information about the docs mailing list