Lines Matching refs:p2cread
726 (p2cread, p2cwrite,
772 p2cread, p2cwrite,
787 to_close.append(p2cread)
1020 p2cread, p2cwrite = -1, -1
1025 p2cread = _winapi.GetStdHandle(_winapi.STD_INPUT_HANDLE)
1026 if p2cread is None:
1027 p2cread, _ = _winapi.CreatePipe(None, 0)
1028 p2cread = Handle(p2cread)
1031 p2cread, p2cwrite = _winapi.CreatePipe(None, 0)
1032 p2cread, p2cwrite = Handle(p2cread), Handle(p2cwrite)
1034 p2cread = msvcrt.get_osfhandle(self._get_devnull())
1036 p2cread = msvcrt.get_osfhandle(stdin)
1039 p2cread = msvcrt.get_osfhandle(stdin.fileno())
1040 p2cread = self._make_inheritable(p2cread)
1080 return (p2cread, p2cwrite,
1110 p2cread, p2cwrite, argument
1129 use_std_handles = -1 not in (p2cread, c2pwrite, errwrite)
1132 startupinfo.hStdInput = p2cread
1149 handle_list += [int(p2cread), int(c2pwrite), int(errwrite)]
1186 if p2cread != -1:
1187 p2cread.Close()
1333 p2cread, p2cwrite = -1, -1
1340 p2cread, p2cwrite = os.pipe()
1342 p2cread = self._get_devnull()
1344 p2cread = stdin
1347 p2cread = stdin.fileno()
1378 return (p2cread, p2cwrite,
1386 p2cread, p2cwrite, argument
1450 p2cread, p2cwrite, c2pread, c2pwrite,
1461 if p2cread != -1 and p2cwrite != -1 and p2cread != devnull_fd:
1462 os.close(p2cread)