Skip to content

Commit 8886941

Browse files
committed
DEBUG re-enable (REMOVE ME).
1 parent 77489b5 commit 8886941

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

runtest.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -104,13 +104,13 @@ def __init__(self, args, no_pty=False, line_break="\n"):
104104
env['TERM'] = 'dumb'
105105
env['INPUTRC'] = '/dev/null'
106106
env['PERL_RL'] = 'false'
107-
#print("FDS before: %s" % list_fds())
107+
print("FDS before: %s" % list_fds())
108108
if no_pty:
109109
self.p = Popen(args, bufsize=0,
110110
stdin=PIPE, stdout=PIPE, stderr=STDOUT,
111111
preexec_fn=os.setsid,
112-
env=env)
113-
#env=env, close_fds=True)
112+
env=env, close_fds=True)
113+
#env=env)
114114
self.stdin = self.p.stdin
115115
self.stdout = self.p.stdout
116116
else:
@@ -125,8 +125,8 @@ def __init__(self, args, no_pty=False, line_break="\n"):
125125
self.p = Popen(args, bufsize=0,
126126
stdin=slave, stdout=slave, stderr=STDOUT,
127127
preexec_fn=os.setsid,
128-
env=env)
129-
#env=env, close_fds=True)
128+
env=env, close_fds=True)
129+
#env=env)
130130
# Now close slave so that we will get an exception from
131131
# read when the child exits early
132132
# http://stackoverflow.com/questions/11165521

0 commit comments

Comments
 (0)