[svn r63301] don't open the anyway unused stdin, this can (at last on python 2.4 on Mac) leave open pipes in the process

--HG--
branch : trunk
This commit is contained in:
hpk
2009-03-24 23:38:43 +01:00
parent 74958be548
commit 62905a1312

View File

@@ -32,7 +32,7 @@ def posix_exec_cmd(cmd):
import errno
#print "execing", cmd
child = Popen(cmd, shell=True, stdin=PIPE, stdout=PIPE, stderr=PIPE,
child = Popen(cmd, shell=True, stdout=PIPE, stderr=PIPE,
close_fds=True)
stdin, stdout, stderr = child.stdin, child.stdout, child.stderr