Home
last modified time | relevance | path

Searched refs:preexec_fn (Results 1 – 16 of 16) sorted by relevance

/third_party/python/Modules/
D_posixsubprocess.c470 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()
[all …]
/third_party/python/Lib/
Dsubprocess.py755 preexec_fn=None, close_fds=True, argument
783 if preexec_fn is not None:
966 self._execute_child(args, executable, preexec_fn, close_fds,
1349 def _execute_child(self, args, executable, preexec_fn, close_fds, argument
1682 def _execute_child(self, args, executable, preexec_fn, close_fds, argument
1718 and preexec_fn is None
1784 preexec_fn)
/third_party/python/Lib/test/
Dtest_subprocess.py2088 preexec_fn=lambda: os.putenv("FRUIT", "apple"))
2097 preexec_fn=raise_it)
2145 stderr=subprocess.PIPE, preexec_fn=raise_it)
2155 preexec_fn=lambda: None)
2162 preexec_fn=lambda: None)
2183 preexec_fn=lambda: None)
2585 preexec_fn=prepare)
3061 preexec_fn=lambda: os.dup2(1, fd))
3334 preexec_fn=lambda: 1)
Dtest_cmd_line.py455 preexec_fn=preexec)
/third_party/node/deps/v8/tools/testrunner/local/
Dcommand.py201 preexec_fn=os.setsid,
/third_party/libinput/tools/
Dtest_tool_option_parsing.py55 preexec_fn=_disable_coredump,
/third_party/node/tools/
Dtest.py776 preexec_fn = None
782 preexec_fn = disableCoreFiles
792 preexec_fn = preexec_fn
/third_party/python/Doc/library/
Dsubprocess.rst339 stderr=None, preexec_fn=None, close_fds=True, shell=False, \
493 If *preexec_fn* is set to a callable object, this object will be called in the
499 The *preexec_fn* parameter is not safe to use in the presence of threads
508 parameter rather than doing it in a *preexec_fn*.
510 common use of *preexec_fn* to call os.setsid() in the child.
514 The *preexec_fn* parameter is no longer supported in subinterpreters.
/third_party/python/Doc/whatsnew/
D2.4.rst400 preexec_fn=None, close_fds=False, shell=False,
427 * *preexec_fn* is a function that gets called before the child is started.
D3.8.rst1460 * *preexec_fn*, *pass_fds*, *cwd* and *start_new_session* parameters
1867 * The *preexec_fn* argument of * :class:`subprocess.Popen` is no longer
/third_party/python/Misc/NEWS.d/
D3.5.2rc1.rst1438 when preexec_fn is used.
D3.6.0a1.rst2280 when preexec_fn is used.
D3.5.0a1.rst2519 than a potentially risky preexec_fn=os.setsid call.
D3.9.0a1.rst2034 Only *preexec_fn* is restricted in subinterpreters.
D3.8.0a1.rst3164 using subprocess with a preexec_fn while an after_parent handler has been
/third_party/python/Misc/
DHISTORY256 fork() failure when preexec_fn is used.
1485 than a potentially risky preexec_fn=os.setsid call.