Lines Matching refs:p2cread
823 (p2cread, p2cwrite,
950 p2cread, p2cwrite,
967 to_close.append(p2cread)
1204 p2cread, p2cwrite, argument
1212 if p2cread != -1:
1213 stack.callback(p2cread.Close)
1219 if p2cread != -1 and p2cwrite != -1 and p2cread != devnull_fd:
1220 stack.callback(os.close, p2cread)
1243 p2cread, p2cwrite = -1, -1
1248 p2cread = _winapi.GetStdHandle(_winapi.STD_INPUT_HANDLE)
1249 if p2cread is None:
1250 p2cread, _ = _winapi.CreatePipe(None, 0)
1251 p2cread = Handle(p2cread)
1254 p2cread, p2cwrite = _winapi.CreatePipe(None, 0)
1255 p2cread, p2cwrite = Handle(p2cread), Handle(p2cwrite)
1257 p2cread = msvcrt.get_osfhandle(self._get_devnull())
1259 p2cread = msvcrt.get_osfhandle(stdin)
1262 p2cread = msvcrt.get_osfhandle(stdin.fileno())
1263 p2cread = self._make_inheritable(p2cread)
1303 return (p2cread, p2cwrite,
1333 p2cread, p2cwrite, argument
1369 use_std_handles = -1 not in (p2cread, c2pwrite, errwrite)
1372 startupinfo.hStdInput = p2cread
1389 handle_list += [int(p2cread), int(c2pwrite), int(errwrite)]
1431 self._close_pipe_fds(p2cread, p2cwrite,
1570 p2cread, p2cwrite = -1, -1
1577 p2cread, p2cwrite = os.pipe()
1579 p2cread = self._get_devnull()
1581 p2cread = stdin
1584 p2cread = stdin.fileno()
1615 return (p2cread, p2cwrite,
1621 p2cread, p2cwrite, argument
1643 (p2cread, 0),
1655 self._close_pipe_fds(p2cread, p2cwrite,
1662 p2cread, p2cwrite, argument
1699 and (p2cread == -1 or p2cread > 2)
1708 p2cread, p2cwrite,
1756 p2cread, p2cwrite, c2pread, c2pwrite,
1767 self._close_pipe_fds(p2cread, p2cwrite,