[issue1772] popen fails when there are two or more pathnames/parameters with spaces
Stephan Hoermann
report at bugs.python.org
Mon Jan 14 22:53:32 CET 2008
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 spacing). The first
popen call works the second popen call will fail, because there are 2
pathnames in the code with spaces. I am using the popen4 module in os
but I also tested popen2 and popen3 and they do the same thing.
Added file: http://bugs.python.org/file9164/popen_bug.py
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1772>
__________________________________
More information about the Python-bugs-list
mailing list