cpython/Lib/test/subprocessdata/input_reader.py
Gregory P. Smith 51ee270876 issue7213: Open the pipes used by subprocesses with the FD_CLOEXEC flag from
the C code, using pipe2() when available.  Adds unittests for close_fds and
cloexec behaviors.
2010-12-13 07:59:39 +00:00

7 lines
129 B
Python

"""When called as a script, consumes the input"""
import sys
if __name__ = "__main__":
for line in sys.stdin:
pass