[issue10322] sys.argv and quoted arguments on command line

Eric Smith report at bugs.python.org
Fri Nov 5 12:25:02 CET 2010


Eric Smith <eric at trueblade.com> added the comment:

I don't see this behavior on MacOS:

$ ./argtest arg1 arg2 "this should be a single argument"
2.6.1 (r261:67515, Feb 11 2010, 15:47:53) 
[GCC 4.2.1 (Apple Inc. build 5646)]
['./argtest', 'arg1', 'arg2', 'this should be a single argument']

This splitting is done by the shell (Unix-like systems) or by the C runtime (Windows), not by Python. What OS are you running?

----------
nosy: +eric.smith

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


More information about the Python-bugs-list mailing list