[issue8987] Distutils doesn't quote Windows command lines properly

Eric Wieser report at bugs.python.org
Sun Nov 18 21:08:45 EST 2018


Eric Wieser <wieser.eric+pybug at gmail.com> added the comment:

> then we should perhaps instead consider the rewrite for 3.6: provide a *new* distutils function that does use Popen and does things "right" (based on everything we've learned since distutils was written), leaving the old function in place, deprecated, for backward compatibility.

Was any progress made towards achieving this? It's frustrating that the correct quoting behavior we get with `subprocess.Popen(List[str])` is not used by `spawn`, and now every level of distutils code has to think about whether it needs to quote its arguments for the shell.

----------
nosy: +Eric.Wieser

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue8987>
_______________________________________


More information about the Python-bugs-list mailing list