diff --git a/runtest.py b/runtest.py index 2889d0ca..bc7fa80b 100755 --- a/runtest.py +++ b/runtest.py @@ -104,13 +104,13 @@ class Runner(): env['TERM'] = 'dumb' env['INPUTRC'] = '/dev/null' env['PERL_RL'] = 'false' - #print("FDS before: %s" % list_fds()) + print("FDS before: %s" % list_fds()) if no_pty: self.p = Popen(args, bufsize=0, stdin=PIPE, stdout=PIPE, stderr=STDOUT, preexec_fn=os.setsid, - env=env) - #env=env, close_fds=True) + env=env, close_fds=True) + #env=env) self.stdin = self.p.stdin self.stdout = self.p.stdout else: @@ -125,8 +125,8 @@ class Runner(): self.p = Popen(args, bufsize=0, stdin=slave, stdout=slave, stderr=STDOUT, preexec_fn=os.setsid, - env=env) - #env=env, close_fds=True) + env=env, close_fds=True) + #env=env) # Now close slave so that we will get an exception from # read when the child exits early # http://stackoverflow.com/questions/11165521