diff options
Diffstat (limited to 'Lib/popen2.py')
-rw-r--r-- | Lib/popen2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/popen2.py b/Lib/popen2.py index d195fef8a4..45dcbb9ab3 100644 --- a/Lib/popen2.py +++ b/Lib/popen2.py @@ -5,7 +5,7 @@ import string MAXFD = 100 # Max number of file descriptors (os.getdtablesize()???) def popen2(cmd): - cmd = string.split(cmd) + cmd = ['/bin/sh', '-c', cmd] p2cread, p2cwrite = os.pipe() c2pread, c2pwrite = os.pipe() pid = os.fork() |