Frank Rügheimer added the comment:
You are right, it seems to work when the file is passed directly into python so
the quotes are stripped somewhere before python even gets to see them.
Thanks
--
status: open -> closed
___
Python tracker
&l
Rügheimer 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 a
New submission from Rügheimer :
Words in quoted command line arguments containing whitespace are split into
separate entries of the argument vector sys.argv. This implemetation (quote
removal + word splitting) removes information required to read string arguments
passed via the command line