145
145
cmd = [sys.executable, 'test.py'] + sys.argv[1:]
148
proc = Popen(cmd, stdin=PIPE, stdout=PIPE, stderr=PIPE)
147
proc = Popen(cmd, stdin=PIPE, stdout=PIPE, stderr=STDOUT)
151
150
# Do proc.communicate(), but timeout if there's no activity on stdout or
157
154
rlist, wlist, xlist = select(open_readers, [], [], TIMEOUT)