Stephan Hoermann added the comment:
I have attached some code that demonstrates the bug. You need to run it
on Windows and you need to place some bat file (it doesn't need to do
anything just exist) at C:\Program Files\test.bat (or change the
reference in the code, but it does need to in
New submission from Stephan Hoermann:
If commands similar to this (including all quotation
marks) '"C:\\Program Files\\test.bat" blah "C:\\Data Files\\test2.txt"'
are executed using popen, then the following is returned from
stderr "'C:\\Program'