Searched refs:p2cread (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython3/Lib/ |
D | subprocess.py | 823 (p2cread, p2cwrite, 950 p2cread, p2cwrite, 967 to_close.append(p2cread) 1204 p2cread, p2cwrite, argument 1212 if p2cread != -1: 1213 stack.callback(p2cread.Close) 1219 if p2cread != -1 and p2cwrite != -1 and p2cread != devnull_fd: 1220 stack.callback(os.close, p2cread) 1243 p2cread, p2cwrite = -1, -1 1248 p2cread = _winapi.GetStdHandle(_winapi.STD_INPUT_HANDLE) [all …]
|
/external/python/cpython2/Lib/ |
D | subprocess.py | 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) [all …]
|
D | popen2.py | 52 p2cread, p2cwrite = os.pipe() 59 os.dup2(p2cread, 0) 64 os.close(p2cread) 122 p2cread, p2cwrite = os.pipe() 127 os.dup2(p2cread, 0) 131 os.close(p2cread)
|
/external/python/cpython3/Modules/ |
D | _posixsubprocess.c | 436 int p2cread, int p2cwrite, in child_exec() argument 487 if (p2cread == 0) { in child_exec() 488 if (_Py_set_inheritable_async_safe(p2cread, 1, NULL) < 0) in child_exec() 491 else if (p2cread != -1) in child_exec() 492 POSIX_CALL(dup2(p2cread, 0)); /* stdin */ in child_exec() 622 int p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite; in subprocess_fork_exec() local 643 &p2cread, &p2cwrite, &c2pread, &c2pwrite, in subprocess_fork_exec() 866 p2cread, p2cwrite, c2pread, c2pwrite, in subprocess_fork_exec()
|
/external/python/cpython2/Demo/tkinter/guido/ |
D | ShellWindow.py | 108 p2cread, p2cwrite = os.pipe() 118 if os.dup(p2cread) <> 0: 130 os.close(p2cread)
|
/external/python/cpython2/Lib/test/ |
D | test_subprocess.py | 891 p2cread, p2cwrite, argument 899 p2cread, p2cwrite,
|