Lines Matching refs:errwrite
386 errread, errwrite), to_close = self._get_handles(stdin, stdout, stderr)
394 errread, errwrite)
506 errread, errwrite = None, None
543 errwrite = _subprocess.GetStdHandle(_subprocess.STD_ERROR_HANDLE)
544 if errwrite is None:
545 _, errwrite = _subprocess.CreatePipe(None, 0)
547 errread, errwrite = _subprocess.CreatePipe(None, 0)
549 errwrite = c2pwrite
551 errwrite = msvcrt.get_osfhandle(stderr)
554 errwrite = msvcrt.get_osfhandle(stderr.fileno())
555 errwrite = self._make_inheritable(errwrite)
557 to_close.add(errwrite)
563 errread, errwrite), to_close
595 errread, errwrite): argument
604 if None not in (p2cread, c2pwrite, errwrite):
608 startupinfo.hStdError = errwrite
662 if errwrite is not None:
663 _close_in_parent(errwrite)
801 errread, errwrite = None, None
828 errread, errwrite = self.pipe_cloexec()
829 to_close.update((errread, errwrite))
832 errwrite = c2pwrite
834 errwrite = sys.__stdout__.fileno()
836 errwrite = stderr
839 errwrite = stderr.fileno()
843 errread, errwrite), to_close
905 errread, errwrite): argument
961 if errwrite == 0 or errwrite == 1:
962 errwrite = os.dup(errwrite)
975 _dup2(errwrite, 2)
980 for fd in [p2cread, c2pwrite, errwrite]:
1034 if errwrite is not None and errread is not None:
1035 _close_in_parent(errwrite)