Lines Matching refs:c2pwrite
981 # c2pread <--stdout--- c2pwrite
991 c2pread, c2pwrite,
1030 c2pread, c2pwrite,
1048 to_close.append(c2pwrite)
1284 c2pread, c2pwrite,
1293 if c2pwrite != -1:
1294 stack.callback(c2pwrite.Close)
1300 if c2pwrite != -1 and c2pread != -1 and c2pwrite != devnull_fd:
1301 stack.callback(os.close, c2pwrite)
1337 p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite
1343 c2pread, c2pwrite = -1, -1
1368 c2pwrite = _winapi.GetStdHandle(_winapi.STD_OUTPUT_HANDLE)
1369 if c2pwrite is None:
1370 _, c2pwrite = _winapi.CreatePipe(None, 0)
1371 c2pwrite = Handle(c2pwrite)
1372 err_close_fds.append(c2pwrite)
1375 c2pread, c2pwrite = _winapi.CreatePipe(None, 0)
1376 c2pread, c2pwrite = Handle(c2pread), Handle(c2pwrite)
1377 err_close_fds.extend((c2pread, c2pwrite))
1379 c2pwrite = msvcrt.get_osfhandle(self._get_devnull())
1381 c2pwrite = msvcrt.get_osfhandle(stdout)
1384 c2pwrite = msvcrt.get_osfhandle(stdout.fileno())
1385 c2pwrite = self._make_inheritable(c2pwrite)
1399 errwrite = c2pwrite
1410 c2pread, c2pwrite,
1440 c2pread, c2pwrite,
1475 use_std_handles = -1 not in (p2cread, c2pwrite, errwrite)
1479 startupinfo.hStdOutput = c2pwrite
1495 handle_list += [int(p2cread), int(c2pwrite), int(errwrite)]
1554 c2pread, c2pwrite,
1688 p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite
1691 c2pread, c2pwrite = -1, -1
1713 c2pread, c2pwrite = os.pipe()
1714 err_close_fds.extend((c2pread, c2pwrite))
1716 fcntl.fcntl(c2pwrite, fcntl.F_SETPIPE_SZ, self.pipesize)
1718 c2pwrite = self._get_devnull()
1720 c2pwrite = stdout
1723 c2pwrite = stdout.fileno()
1733 if c2pwrite != -1:
1734 errwrite = c2pwrite
1746 c2pread, c2pwrite,
1752 c2pread, c2pwrite,
1774 (c2pwrite, 1),
1786 c2pread, c2pwrite,
1793 c2pread, c2pwrite,
1830 and (c2pwrite == -1 or c2pwrite > 2)
1840 c2pread, c2pwrite,
1887 p2cread, p2cwrite, c2pread, c2pwrite,
1899 c2pread, c2pwrite,