[issue1772] popen fails when there are two or more pathnames/parameters with spaces

2008-01-20 Thread Christian Heimes
Christian Heimes added the comment: The popen*() function don't quote the paths for you. Please use the subprocess module. It takes care of the quoting on Windows. -- nosy: +tiran resolution: -> works for me status: open -> closed __ Tracker <[EMAIL PROT

[issue1772] popen fails when there are two or more pathnames/parameters with spaces

2008-01-14 Thread Stephan Hoermann
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 include

[issue1772] popen fails when there are two or more pathnames/parameters with spaces

2008-01-14 Thread Thomas Lee
Thomas Lee added the comment: Do you have a code sample that reproduces this issue? Which popen module and/or function are you using to execute this command? -- nosy: +thomas.lee __ Tracker <[EMAIL PROTECTED]> __

[issue1772] popen fails when there are two or more pathnames/parameters with spaces

2008-01-08 Thread Stephan Hoermann
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' is not recognized as an internal or external c