[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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user