1 2 3 4 5 6 7 8 9 10 11 12
"""Script used by test_process.TestTwoProcesses""" # run until stdin is closed, then quit import sys while 1: d = sys.stdin.read() if len(d) == 0: sys.exit(0)