mirror of
https://github.com/python/cpython.git
synced 2025-07-28 13:44:43 +00:00
Fix for bug #1634343: allow specifying empty arguments on Windows
This commit is contained in:
parent
2be9d43c18
commit
10514a70ac
2 changed files with 3 additions and 1 deletions
|
@ -499,7 +499,7 @@ def list2cmdline(seq):
|
|||
if result:
|
||||
result.append(' ')
|
||||
|
||||
needquote = (" " in arg) or ("\t" in arg)
|
||||
needquote = (" " in arg) or ("\t" in arg) or arg == ""
|
||||
if needquote:
|
||||
result.append('"')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue