[issue18649] list2cmdline function in subprocess module handles \" sequence wrong
Piotr Dobrogost
report at bugs.python.org
Sun Aug 4 20:51:09 CEST 2013
Piotr Dobrogost added the comment:
Sure, something like
"The purpose of this function is to construct a string which will be later interpreted by MS C runtime as denoting a sequence of arguments. Because of this the string is built in such a way as to preserve the original characters when interpreted by MS C runtime. For example a double quotation mark is preceded by the backslash so that MS C runtime would translate this back to the original double quotation mark according to its rules which are given below as a reference:"
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18649>
_______________________________________
More information about the Python-bugs-list
mailing list