[docs] [issue20344] subprocess.check_output() docs misrepresent what shell=True does

Martin Panter report at bugs.python.org
Wed May 20 00:51:09 CEST 2015


Martin Panter added the comment:

“Only the first element . . . will be executed on Unix” is a bit simplistic. The behaviour is already described more fully in the “shell” documentation under <https://docs.python.org/dev/library/subprocess.html#subprocess.Popen>.

Also, “args” is allowed to be a _sequence_, but an _iterable_ is a more general concept.

----------
nosy: +vadmium

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


More information about the docs mailing list