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

Dimitri Merejkowsky report at bugs.python.org
Tue Apr 11 06:04:41 EDT 2017


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: open
title: subprocess: weird behavior with shell=True and args being a list

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


More information about the New-bugs-announce mailing list