[Python-Dev] Testsuite fails on Windows if a space is in the path
"Martin v. Löwis"
martin at v.loewis.de
Mon Sep 18 16:18:59 CEST 2006
Jean-Paul Calderone schrieb:
> You can find the quoting/dequoting rules used by cmd.exe documented on msdn:
>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclang/html/_pluslang_Parsing_C.2b2b_.Command.2d.Line_Arguments.asp
>
> Interpreting them is something of a challenge (my favorite part is how the
> examples imply that the final argument is automatically uppercased ;)
That doesn't talk about cmd.exe, does it? It rather looks like the
procedure used to create argc/argv when calling main() in the
C run-time library.
If cmd.exe would use these rules, the current Python code should
be fine, AFAICT.
Regards,
Martin
More information about the Python-Dev
mailing list