[issue1772] popen fails when there are two or more pathnames/parameters with spaces
Stephan Hoermann
report at bugs.python.org
Wed Jan 9 07:22:59 CET 2008
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
command,\noperable program or batch file.\n". No use of quotation has
been able to fix this. As soon as there is more than one pair of
quotations inside the command string popen will not handle the command
correctly.
----------
components: Library (Lib), Windows
messages: 59580
nosy: shoermann
severity: major
status: open
title: popen fails when there are two or more pathnames/parameters with spaces
type: behavior
versions: Python 2.4, Python 2.5
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1772>
__________________________________
More information about the Python-bugs-list
mailing list