[New-bugs-announce] [issue35154] subprocess.list2cmdline() does not allow running some commands.
Roffild
report at bugs.python.org
Sat Nov 3 16:55:53 EDT 2018
New submission from Roffild <roffild at gmail.com>:
This issue has already been discussed in #23862
Have to use this hack:
import subprocess
def list2cmdlineHack(seq):
return " ".join(seq)
subprocess.list2cmdline = list2cmdlineHack
There must be an argument in subprocess.run() to disable subprocess.list2cmdline(). Let the programmer set the start line of the command himself.
----------
components: IO, Library (Lib), Windows
messages: 329207
nosy: Roffild, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: subprocess.list2cmdline() does not allow running some commands.
type: behavior
versions: Python 3.6, Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35154>
_______________________________________
More information about the New-bugs-announce
mailing list