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 _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com