aboutsummaryrefslogtreecommitdiffstats
path: root/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/test/process_reader.py
blob: be37a7c42ff78e468765d4c14264c5edb3bf57d3 (plain)
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)