Stefan Krah <stefan-use...@bytereef.org> added the comment: Isn't just the name of the executable wrong? /bin/bash is executed all right, but the name is set to "/bin/sh".
Index: Lib/subprocess.py =================================================================== --- Lib/subprocess.py (revision 82816) +++ Lib/subprocess.py (working copy) @@ -1091,6 +1091,8 @@ if shell: args = ["/bin/sh", "-c"] + args + if executable: + args[0] = executable In general though, I'd prefer to specify another shell by shell="bin/bash". ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9265> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com