commit | 6c0e1e86733f0c26db2f33534e820e1b7427d274 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Sun Oct 29 09:05:04 2006 +0000 |
committer | Georg Brandl <georg@python.org> | Sun Oct 29 09:05:04 2006 +0000 |
tree | ef3d40d7a3a036b728a0fe723b14ba674995620d | |
parent | fe9c71bcd39725ba9149f5c011728b88c99f3a30 [diff] |
Bug #1357915: allow all sequence types for shell arguments in subprocess.
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 @@ if isinstance(args, types.StringTypes): args = [args] + else: + args = list(args) if shell: args = ["/bin/sh", "-c"] + args