[issue30041] subprocess: weird behavior with shell=True and args being a list

2017-04-11 Thread Martin Panter
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

[issue30041] subprocess: weird behavior with shell=True and args being a list

2017-04-11 Thread Dimitri Merejkowsky
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: