Lines Matching refs:preexec_fn
470 PyObject *preexec_fn, in child_exec() argument
575 if (preexec_fn != Py_None && preexec_fn_args_tuple) { in child_exec()
577 result = PyObject_Call(preexec_fn, preexec_fn_args_tuple, NULL); in child_exec()
669 PyObject *preexec_fn, in do_fork_exec() argument
681 assert(preexec_fn == Py_None); in do_fork_exec()
699 if (preexec_fn != Py_None) { in do_fork_exec()
713 py_fds_to_keep, preexec_fn, preexec_fn_args_tuple); in do_fork_exec()
724 PyObject *env_list, *preexec_fn; in subprocess_fork_exec() local
754 &preexec_fn)) in subprocess_fork_exec()
757 if ((preexec_fn != Py_None) && in subprocess_fork_exec()
782 if (preexec_fn != Py_None) { in subprocess_fork_exec()
920 if (preexec_fn != Py_None) { in subprocess_fork_exec()
933 if (preexec_fn == Py_None && in subprocess_fork_exec()
959 py_fds_to_keep, preexec_fn, preexec_fn_args_tuple); in subprocess_fork_exec()