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

Chris Hogan report at bugs.python.org
Thu Aug 20 18:30:52 CEST 2015


Chris Hogan added the comment:

> Since issue 8972 has been resolved by fixing the broken behavior, I think we should just use list2cmdline.  
> We could leave _nt_quote_args alone and replace the call to it in _spawn_nt with:

>  cmd = [list2cmdline([arg]) for arg in cmd]

I verified that this passes the high-level test I wrote.

----------

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


More information about the Python-bugs-list mailing list