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.py825 errread, errwrite) = self._get_handles(stdin, stdout, stderr)
952 errread, errwrite,
971 to_close.append(errwrite)
1206 errread, errwrite): argument
1216 if errwrite != -1:
1217 stack.callback(errwrite.Close)
1223 if errwrite != -1 and errread != -1 and errwrite != devnull_fd:
1224 stack.callback(os.close, errwrite)
1245 errread, errwrite = -1, -1
1284 errwrite = _winapi.GetStdHandle(_winapi.STD_ERROR_HANDLE)
[all …]
/external/python/cpython3/Modules/
D_posixsubprocess.c438 int errread, int errwrite, in child_exec() argument
476 while (errwrite == 0 || errwrite == 1) { in child_exec()
477 POSIX_CALL(errwrite = dup(errwrite)); in child_exec()
479 if (_Py_set_inheritable_async_safe(errwrite, 0, NULL) < 0) { in child_exec()
501 if (errwrite == 2) { in child_exec()
502 if (_Py_set_inheritable_async_safe(errwrite, 1, NULL) < 0) in child_exec()
505 else if (errwrite != -1) in child_exec()
506 POSIX_CALL(dup2(errwrite, 2)); /* stderr */ in child_exec()
622 int p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite; in subprocess_fork_exec() local
644 &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)