Home
last modified time | relevance | path

Searched refs:errwrite (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Lib/
Dsubprocess.py386 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())
[all …]
/external/python/cpython3/Lib/
Dsubprocess.py728 errread, errwrite) = self._get_handles(stdin, stdout, stderr)
774 errread, errwrite,
791 to_close.append(errwrite)
1022 errread, errwrite = -1, -1
1061 errwrite = _winapi.GetStdHandle(_winapi.STD_ERROR_HANDLE)
1062 if errwrite is None:
1063 _, errwrite = _winapi.CreatePipe(None, 0)
1064 errwrite = Handle(errwrite)
1067 errread, errwrite = _winapi.CreatePipe(None, 0)
1068 errread, errwrite = Handle(errread), Handle(errwrite)
[all …]
/external/python/cpython3/Modules/
D_posixsubprocess.c404 int errread, int errwrite, in child_exec() argument
439 while (errwrite == 0 || errwrite == 1) { in child_exec()
440 POSIX_CALL(errwrite = dup(errwrite)); in child_exec()
442 if (_Py_set_inheritable_async_safe(errwrite, 0, NULL) < 0) { in child_exec()
464 if (errwrite == 2) { in child_exec()
465 if (_Py_set_inheritable_async_safe(errwrite, 1, NULL) < 0) in child_exec()
468 else if (errwrite != -1) in child_exec()
469 POSIX_CALL(dup2(errwrite, 2)); /* stderr */ in child_exec()
564 int p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite; in subprocess_fork_exec() local
582 &errread, &errwrite, &errpipe_read, &errpipe_write, in subprocess_fork_exec()
[all …]
/external/python/cpython2/Lib/test/
Dtest_subprocess.py893 errread, errwrite): argument
901 errread, errwrite)