diff options
| author | Georg Brandl <georg@python.org> | 2006-10-29 09:05:04 (GMT) |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2006-10-29 09:05:04 (GMT) |
| commit | 6c0e1e86733f0c26db2f33534e820e1b7427d274 (patch) | |
| tree | ef3d40d7a3a036b728a0fe723b14ba674995620d /Lib/subprocess.py | |
| parent | fe9c71bcd39725ba9149f5c011728b88c99f3a30 (diff) | |
| download | cpython-6c0e1e86733f0c26db2f33534e820e1b7427d274.zip cpython-6c0e1e86733f0c26db2f33534e820e1b7427d274.tar.gz cpython-6c0e1e86733f0c26db2f33534e820e1b7427d274.tar.bz2 | |
Bug #1357915: allow all sequence types for shell arguments in
subprocess.
Diffstat (limited to 'Lib/subprocess.py')
| -rw-r--r-- | Lib/subprocess.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/subprocess.py b/Lib/subprocess.py index 7c229dc..5d79ea6 100644 --- a/Lib/subprocess.py +++ b/Lib/subprocess.py @@ -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 |
