Searched refs:errpipe_write (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython3/Modules/ |
D | _posixsubprocess.c | 188 make_inheritable(PyObject *py_fds_to_keep, int errpipe_write) in make_inheritable() argument 198 if (fd == errpipe_write) { in make_inheritable() 439 int errpipe_read, int errpipe_write, in child_exec() argument 455 if (make_inheritable(py_fds_to_keep, errpipe_write) < 0) in child_exec() 591 _Py_write_noraise(errpipe_write, "OSError:", 8); in child_exec() 597 _Py_write_noraise(errpipe_write, cur, hex_errno + sizeof(hex_errno) - cur); in child_exec() 598 _Py_write_noraise(errpipe_write, ":", 1); in child_exec() 601 _Py_write_noraise(errpipe_write, "noexec", 6); in child_exec() 606 _Py_write_noraise(errpipe_write, "SubprocessError:0:", 18); in child_exec() 607 _Py_write_noraise(errpipe_write, err_msg, strlen(err_msg)); in child_exec() [all …]
|
/external/python/cpython3/Lib/multiprocessing/ |
D | util.py | 450 errpipe_read, errpipe_write = os.pipe() 454 -1, -1, -1, -1, -1, -1, errpipe_read, errpipe_write, 458 os.close(errpipe_write)
|
/external/python/cpython3/Lib/ |
D | subprocess.py | 1718 errpipe_read, errpipe_write = os.pipe() 1721 while errpipe_write < 3: 1722 low_fds_to_close.append(errpipe_write) 1723 errpipe_write = os.dup(errpipe_write) 1751 fds_to_keep.add(errpipe_write) 1758 errpipe_read, errpipe_write, 1765 os.close(errpipe_write)
|
/external/python/cpython2/Lib/ |
D | subprocess.py | 928 errpipe_read, errpipe_write = self.pipe_cloexec() 994 self._close_fds(but=errpipe_write) 1008 os.write(errpipe_write, pickle.dumps(exc_value)) 1020 os.close(errpipe_write)
|
/external/python/cpython3/Lib/test/ |
D | test_subprocess.py | 1710 errpipe_write = args[13] 1713 os.write(errpipe_write, b"OSError:" + err_code + b":") 1729 errpipe_write = args[13] 1733 os.write(errpipe_write, error_data)
|