From 5803072b96bdb98fee60c0d34a65b1109db9be97 Mon Sep 17 00:00:00 2001 From: hpk Date: Wed, 18 Mar 2009 09:10:06 +0100 Subject: [PATCH] [svn r63024] don't close_fds by default --HG-- branch : trunk --- py/execnet/register.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/py/execnet/register.py b/py/execnet/register.py index b86d6d302..848b8b897 100644 --- a/py/execnet/register.py +++ b/py/execnet/register.py @@ -61,7 +61,9 @@ class InstallableGateway(gateway.Gateway): class PopenCmdGateway(InstallableGateway): def __init__(self, cmd): - p = Popen(cmd, shell=True, stdin=PIPE, stdout=PIPE, close_fds=True) + # on win close_fds=True does not work, not sure it'd needed + #p = Popen(cmd, shell=True, stdin=PIPE, stdout=PIPE, close_fds=True) + p = Popen(cmd, shell=True, stdin=PIPE, stdout=PIPE) infile, outfile = p.stdin, p.stdout self._cmd = cmd io = inputoutput.Popen2IO(infile, outfile)