[issue1475] test_popen fails when the directory contains a space
Peter Åstrand
report at bugs.python.org
Thu Nov 22 19:54:26 CET 2007
Peter Åstrand added the comment:
>In Python 3.x os.popen is implemented based on subprocess.
Oh, I see.
>I believe it's still a problem with subprocess.
I'm still not convinced of this. Isn't it better to do the quoting
outside subprocess; to let the caller do it? You say that "section 2" is
our case, but how can we be sure of this: If subprocess is called with
args='"c:\program files\internet explorer\iexplore.exe"', then we have
case 1, right, and surrounding args with another pair of quotes would
mean failure, right?
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1475>
__________________________________
More information about the Python-bugs-list
mailing list