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

Rügheimer report at bugs.python.org
Fri Nov 5 13:00:24 CET 2010

Rügheimer <frueghei at pasteur.fr> added the comment:

2.6.18-194.17.1.el5 #1 SMP Wed Sep 29 12:51:33 EDT 2010 i686 i686 i386 GNU/Linux

GNU bash, version 3.2.25(1)-release (i686-redhat-linux-gnu)

I wrote test program in C to do the same thing as before and the arguments are treated properly:

> ./testcargs arg1 arg2 "this should be one arg"
argument 0 is:    ./testcargs
argument 1 is:    arg1
argument 2 is:    arg2
argument 3 is:    this should be one arg

My suspicion is that sys implementation goes into a branch intended for a different OS.


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list