Message5852

Author SchlauFuchs
Recipients SchlauFuchs
Date 2010-06-29.04:19:36
SpamBayes Score 0.00186902
Marked as misclassified No
Message-id <1277785177.72.0.793275101725.issue1624@psf.upfronthosting.co.za>
In-reply-to
Content
I called a python script with a command line argument which is a windows path with spaces in it. The usual way to do so is to put it in double quotes. This argument was ending with a backslash. so the last two characters of the quoted argument were '\"'. Using Pydev debugger I could see that in the sys.argv list leading quote was removed, but the trailing one was still there - but the backslash was removed. I assume there was some escaping logic applied to the parameter in the wrong order with the code that unquotes a quoted parameter.
History
Date User Action Args
2010-06-29 04:19:37SchlauFuchssetrecipients: + SchlauFuchs
2010-06-29 04:19:37SchlauFuchssetmessageid: <1277785177.72.0.793275101725.issue1624@psf.upfronthosting.co.za>
2010-06-29 04:19:37SchlauFuchslinkissue1624 messages
2010-06-29 04:19:36SchlauFuchscreate