Kaydet (Commit) 0d3de761 authored tarafından Georg Brandl's avatar Georg Brandl

Bug #1357915: allow all sequence types for shell arguments in

subprocess.
 (backport from rev. 52522)
üst 2a5a3027
......@@ -965,6 +965,8 @@ class Popen(object):
if isinstance(args, types.StringTypes):
args = [args]
else:
args = list(args)
if shell:
args = ["/bin/sh", "-c"] + args
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment