Message110364
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". |
|
Date |
User |
Action |
Args |
2010-07-15 13:16:10 | skrah | set | recipients:
+ skrah, eric.smith, eric.araujo, r.david.murray, narnie |
2010-07-15 13:16:10 | skrah | set | messageid: <1279199770.05.0.376652928398.issue9265@psf.upfronthosting.co.za> |
2010-07-15 13:16:08 | skrah | link | issue9265 messages |
2010-07-15 13:16:08 | skrah | create | |
|