[issue8972] subprocess.list2cmdline doesn't quote the & character

shypike report at bugs.python.org
Fri Jun 11 15:11:08 CEST 2010


New submission from shypike <shypike at sabnzbd.org>:

subprocess.py/list2cmdline should also put double quotes around strings that contain ampersands (&), but no spaces.
If not, the Windows command processor will split the command into two separate parts. In short, '&' needs the same treatment as '|'.

----------
components: Windows
messages: 107544
nosy: shypike
priority: normal
severity: normal
status: open
title: subprocess.list2cmdline doesn't quote the & character
type: behavior
versions: Python 2.5, Python 2.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8972>
_______________________________________


More information about the Python-bugs-list mailing list