[issue2304] subprocess under windows fails to quote properly when shell=True
Weeble
report at bugs.python.org
Mon Nov 8 11:58:43 CET 2010
Weeble <clockworksaint at gmail.com> added the comment:
Is there any way to write code that's safe with or without this fix? If I have code that currently does this:
subprocess.check_call('""c:\some path with spaces" arg1 arg2 "a quoted arg""', shell=True)
...will it break when running on a version of Python with this fix? Is there any good way to detect whether the running Python has this fix or not?
----------
nosy: +weeble
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2304>
_______________________________________
More information about the Python-bugs-list
mailing list