Lines Matching refs:p2cread
384 (p2cread, p2cwrite,
392 p2cread, p2cwrite,
504 p2cread, p2cwrite = None, None
509 p2cread = _subprocess.GetStdHandle(_subprocess.STD_INPUT_HANDLE)
510 if p2cread is None:
511 p2cread, _ = _subprocess.CreatePipe(None, 0)
513 p2cread, p2cwrite = _subprocess.CreatePipe(None, 0)
515 p2cread = msvcrt.get_osfhandle(stdin)
518 p2cread = msvcrt.get_osfhandle(stdin.fileno())
519 p2cread = self._make_inheritable(p2cread)
521 to_close.add(p2cread)
561 return (p2cread, p2cwrite,
593 p2cread, p2cwrite, argument
604 if None not in (p2cread, c2pwrite, errwrite):
606 startupinfo.hStdInput = p2cread
658 if p2cread is not None:
659 _close_in_parent(p2cread)
799 p2cread, p2cwrite = None, None
806 p2cread, p2cwrite = self.pipe_cloexec()
807 to_close.update((p2cread, p2cwrite))
809 p2cread = stdin
812 p2cread = stdin.fileno()
841 return (p2cread, p2cwrite,
903 p2cread, p2cwrite, argument
973 _dup2(p2cread, 0)
980 for fd in [p2cread, c2pwrite, errwrite]:
1030 if p2cread is not None and p2cwrite is not None:
1031 _close_in_parent(p2cread)