Here is a list of open source implementations of command line argument escaping.
- implementation: make_program_args
- test: test/test-spawn.c
- https://docs.python.org/2.7/library/subprocess.html#converting-an-argument-sequence-to-a-string-on-windows
- implementation: subprocess.list2cmdline()
- test: test_list2cmdline
It simply does not quote arguments...
- implementation: makeCmdLine
- implementation: join_argv
- test: test_system_shell
- implementation: qt_create_commandline
- test: spaceArgsTest_data, spaceArgsTest