Martin Panter added the comment:
This is as documented, but perhaps see Issue 20344 about clarifying the
documentation.
--
nosy: +martin.panter
resolution: -> not a bug
stage: -> resolved
status: open -> closed
superseder: -> subprocess.check_output() docs misrepresent what
New submission from Dimitri Merejkowsky:
If you have:
subprocess.run(["ls", "--help"], shell=True)
you'll see that the command run is actually just "ls", not "ls --help"
--
components: Library (Lib)
messages: 291473
nosy: Dimitri Merejkowsky
priority: normal
severity: normal
status: