Home
last modified time | relevance | path

Searched refs:preexec_fn (Results 1 - 7 of 7) sorted by relevance

/third_party/python/Modules/
H A D_posixsubprocess.c566 PyObject *preexec_fn, in child_exec()
676 if (preexec_fn != Py_None && preexec_fn_args_tuple) { in child_exec()
678 result = PyObject_Call(preexec_fn, preexec_fn_args_tuple, NULL); in child_exec()
685 err_msg = "Exception occurred in preexec_fn."; in child_exec()
692 /* close FDs after executing preexec_fn, which might open FDs */ in child_exec()
770 PyObject *preexec_fn, in do_fork_exec()
782 assert(preexec_fn == Py_None); in do_fork_exec()
806 if (preexec_fn != Py_None) { in do_fork_exec()
821 preexec_fn, preexec_fn_args_tuple); in do_fork_exec()
832 PyObject *env_list, *preexec_fn; in subprocess_fork_exec() local
551 child_exec(char *const exec_array[], char *const argv[], char *const envp[], const char *cwd, int p2cread, int p2cwrite, int c2pread, int c2pwrite, int errread, int errwrite, int errpipe_read, int errpipe_write, int close_fds, int restore_signals, int call_setsid, pid_t pgid_to_set, int call_setgid, gid_t gid, int call_setgroups, size_t groups_size, const gid_t *groups, int call_setuid, uid_t uid, int child_umask, const void *child_sigmask, int *fds_to_keep, Py_ssize_t fds_to_keep_len, PyObject *preexec_fn, PyObject *preexec_fn_args_tuple) child_exec() argument
755 do_fork_exec(char *const exec_array[], char *const argv[], char *const envp[], const char *cwd, int p2cread, int p2cwrite, int c2pread, int c2pwrite, int errread, int errwrite, int errpipe_read, int errpipe_write, int close_fds, int restore_signals, int call_setsid, pid_t pgid_to_set, int call_setgid, gid_t gid, int call_setgroups, size_t groups_size, const gid_t *groups, int call_setuid, uid_t uid, int child_umask, const void *child_sigmask, int *fds_to_keep, Py_ssize_t fds_to_keep_len, PyObject *preexec_fn, PyObject *preexec_fn_args_tuple) do_fork_exec() argument
[all...]
/third_party/python/Lib/
H A Dsubprocess.py765 preexec_fn: (POSIX only) An object to be called in the child process
809 preexec_fn=None, close_fds=True,
843 if preexec_fn is not None:
844 raise ValueError("preexec_fn is not supported on Windows "
1026 self._execute_child(args, executable, preexec_fn, close_fds,
1436 def _execute_child(self, args, executable, preexec_fn, close_fds,
1789 def _execute_child(self, args, executable, preexec_fn, close_fds,
1825 and preexec_fn is None
1892 preexec_fn, _USE_VFORK)
/third_party/node/deps/v8/tools/testrunner/local/
H A Dcommand.py201 preexec_fn=os.setsid,
/third_party/libinput/tools/
H A Dtest_tool_option_parsing.py55 preexec_fn=_disable_coredump,
/third_party/node/tools/
H A Dtest.py776 preexec_fn = None
782 preexec_fn = disableCoreFiles
792 preexec_fn = preexec_fn
/third_party/python/Lib/test/
H A Dtest_subprocess.py2154 # of a preexec_fn. This is merely a test.
2159 preexec_fn=lambda: os.putenv("FRUIT", "apple"))
2168 preexec_fn=raise_it)
2172 "Expected a ValueError from the preexec_fn")
2176 self.fail("Exception raised by preexec_fn did not make it "
2216 stderr=subprocess.PIPE, preexec_fn=raise_it)
2226 preexec_fn=lambda: None)
2233 preexec_fn=lambda: None)
2254 preexec_fn=lambda: None)
2656 preexec_fn
[all...]
H A Dtest_cmd_line.py508 preexec_fn=preexec)

Completed in 15 milliseconds