Searched refs:p2cread (Results 1 – 6 of 6) sorted by relevance
/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/Lib/ |
D | subprocess.py | 726 (p2cread, p2cwrite, 772 p2cread, p2cwrite, 787 to_close.append(p2cread) 1020 p2cread, p2cwrite = -1, -1 1025 p2cread = _winapi.GetStdHandle(_winapi.STD_INPUT_HANDLE) 1026 if p2cread is None: 1027 p2cread, _ = _winapi.CreatePipe(None, 0) 1028 p2cread = Handle(p2cread) 1031 p2cread, p2cwrite = _winapi.CreatePipe(None, 0) 1032 p2cread, p2cwrite = Handle(p2cread), Handle(p2cwrite) [all …]
|
/external/python/cpython3/Modules/ |
D | _posixsubprocess.c | 402 int p2cread, int p2cwrite, in child_exec() argument 450 if (p2cread == 0) { in child_exec() 451 if (_Py_set_inheritable_async_safe(p2cread, 1, NULL) < 0) in child_exec() 454 else if (p2cread != -1) in child_exec() 455 POSIX_CALL(dup2(p2cread, 0)); /* stdin */ in child_exec() 564 int p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite; in subprocess_fork_exec() local 581 &p2cread, &p2cwrite, &c2pread, &c2pwrite, in subprocess_fork_exec() 704 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,
|