New submission from Roffild <[email protected]>:
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 <[email protected]>
<https://bugs.python.org/issue35154>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com