Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8b135e4

Browse files
committed
Patch for an Issue #1147
1 parent bf1c08a commit 8b135e4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/parse/cmdline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -788,7 +788,7 @@ def _(self, *args):
788788
prompt = False
789789
advancedHelp = True
790790

791-
for arg in sys.argv:
791+
for arg in (sys.argv if not IS_WIN else shlex.split(" ".join(sys.argv))):
792792
argv.append(getUnicode(arg, encoding=sys.getfilesystemencoding()))
793793

794794
checkDeprecatedOptions(argv)

0 commit comments

Comments
 (0)