commit | 0d3de7612cec5b8613142d517c3bc04906433967 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Sun Oct 29 09:05:08 2006 +0000 |
committer | Georg Brandl <georg@python.org> | Sun Oct 29 09:05:08 2006 +0000 |
tree | 22a7b546aa17f90b9fa364ecf04282d6dfdd980d | |
parent | 2a5a3027f23a2c03e20e1c382be08ebb390f3ea7 [diff] [blame] |
Bug #1357915: allow all sequence types for shell arguments in subprocess. (backport from rev. 52522)
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