Lines Matching refs:stdin
29 'data = sys.stdin.buffer.read()',
40 self._proc.stdin = None
117 stdin=subprocess.PIPE,
122 proc.stdin.write(data)
123 await proc.stdin.drain()
124 proc.stdin.close()
143 stdin=subprocess.PIPE,
260 # the program ends before the stdin can be fed
264 stdin=subprocess.PIPE,
275 proc.stdin.write(data)
276 await proc.stdin.drain()
288 # communicate() must ignore BrokenPipeError when feeding stdin
316 stdin=asyncio.subprocess.PIPE,
338 # asyncio issue #209: stdin must not be inheritable, otherwise
341 code = 'import sys; data = sys.stdin.read(); print(len(data))'
344 stdin=asyncio.subprocess.PIPE,
360 code = 'import sys; data = sys.stdin.read(); print(len(data))'
363 stdin=asyncio.subprocess.PIPE,
379 code = 'import sys; data = sys.stdin.read(); print(len(data))'
382 stdin=asyncio.subprocess.DEVNULL,
398 code = 'import sys; data = sys.stdin.read(); print(len(data))'
401 stdin=asyncio.subprocess.PIPE,
417 code = 'import sys; data = sys.stdin.read(); print(len(data))'
420 stdin=asyncio.subprocess.PIPE,
433 @unittest.skipIf(sys.platform != 'linux', "Don't have /dev/stdin")
437 code = 'file = open("/dev/stdin"); data = file.read(); print(len(data))'
440 stdin=asyncio.subprocess.PIPE,
590 async def _test_popen_error(self, stdin):
605 stdin=stdin
612 self.loop.run_until_complete(self._test_popen_error(stdin=None))
618 self._test_popen_error(stdin=subprocess.PIPE))