[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:
parent
74958be548
commit
62905a1312
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue