Home
last modified time | relevance | path

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

12

/external/python/cpython3/Modules/
D_posixsubprocess.c409 PyObject *preexec_fn, in child_exec() argument
486 if (preexec_fn != Py_None && preexec_fn_args_tuple) { in child_exec()
488 result = PyObject_Call(preexec_fn, preexec_fn_args_tuple, NULL); in child_exec()
561 PyObject *env_list, *preexec_fn; in subprocess_fork_exec() local
583 &restore_signals, &call_setsid, &preexec_fn)) in subprocess_fork_exec()
596 if (preexec_fn != Py_None) { in subprocess_fork_exec()
678 if (preexec_fn != Py_None) { in subprocess_fork_exec()
695 if (preexec_fn != Py_None) { in subprocess_fork_exec()
707 py_fds_to_keep, preexec_fn, preexec_fn_args_tuple); in subprocess_fork_exec()
/external/autotest/client/cros/audio/
Dcmd_utils.py222 preexec_fn = None
224 preexec_fn = lambda: _run_as(run_as) function
229 env=env, preexec_fn=preexec_fn)
/external/chromium-trace/catapult/devil/devil/utils/
Dcmd_helper.py95 preexec_fn = None
98 preexec_fn = lambda: signal.signal(signal.SIGPIPE, signal.SIG_DFL) function
102 shell=shell, close_fds=close_fds, env=env, preexec_fn=preexec_fn)
/external/python/cpython2/Lib/
Dsubprocess.py336 preexec_fn=None, close_fds=False, shell=False, argument
346 if preexec_fn is not None:
389 self._execute_child(args, executable, preexec_fn, close_fds,
590 def _execute_child(self, args, executable, preexec_fn, close_fds, argument
900 def _execute_child(self, args, executable, preexec_fn, close_fds, argument
988 if preexec_fn:
989 preexec_fn()
1294 p = Popen(["id"], preexec_fn=lambda: os.setuid(100))
Dwebbrowser.py198 p = subprocess.Popen(cmdline, close_fds=True, preexec_fn=setsid)
238 stderr=inout, preexec_fn=setsid)
380 preexec_fn=setsid)
393 preexec_fn=setsid)
/external/autotest/client/profilers/top/
Dtop.py34 preexec_fn=os.setpgrp,
/external/autotest/client/cros/cellular/pseudomodem/
Dpseudomodem_context.py202 preexec_fn=PseudoModemManagerContext._SetUserModem,
209 preexec_fn=PseudoModemManagerContext._SetUserModem,
/external/python/cpython3/Lib/
Dsubprocess.py658 preexec_fn=None, close_fds=True, argument
680 if preexec_fn is not None:
769 self._execute_child(args, executable, preexec_fn, close_fds,
1107 def _execute_child(self, args, executable, preexec_fn, close_fds, argument
1383 def _execute_child(self, args, executable, preexec_fn, close_fds, argument
1453 restore_signals, start_new_session, preexec_fn)
/external/grpc-grpc/tools/run_tests/python_utils/
Dstart_port_server.py81 args, env=env, preexec_fn=os.setsid, close_fds=True)
/external/parameter-framework/upstream/tools/clientSimulator/clientsimulator/testGenerator/
DSubprocessLogger.py155 preexec_fn=self.__subProcPreExec,
/external/clang/tools/scan-view/share/
Dstartfile.py59 preexec_fn=setsid, startupinfo=startupinfo)
/external/python/cpython3/Lib/test/
Dtest_subprocess.py1697 preexec_fn=lambda: os.putenv("FRUIT", "apple"))
1706 preexec_fn=raise_it)
1754 stderr=subprocess.PIPE, preexec_fn=raise_it)
1768 preexec_fn=lambda: None)
1775 preexec_fn=lambda: None)
1781 preexec_fn=lambda: None)
1786 preexec_fn=lambda: None)
1808 preexec_fn=lambda: None)
2210 preexec_fn=prepare)
2672 preexec_fn=lambda: os.dup2(1, fd))
[all …]
Dtest_cmd_line.py391 preexec_fn=preexec)
/external/python/cpython2/Lib/test/
Dtest_subprocess.py878 preexec_fn=lambda: os.putenv("FRUIT", "apple"))
889 self, args, executable, preexec_fn, close_fds, cwd, env, argument
896 self, args, executable, preexec_fn, close_fds,
927 stderr=subprocess.PIPE, preexec_fn=raise_it)
1333 preexec_fn=lambda: 1)
/external/toolchain-utils/cros_utils/
Dcommand_executer.py106 preexec_fn=os.setsid,
605 preexec_fn=os.setsid)
/external/autotest/scheduler/
Ddrone_utility.py326 stderr=open('/dev/null', 'a'), preexec_fn=os.setpgrp)
/external/python/cpython3/Doc/library/
Dsubprocess.rst337 stderr=None, preexec_fn=None, close_fds=True, shell=False, \
448 If *preexec_fn* is set to a callable object, this object will be called in the
454 The *preexec_fn* parameter is not safe to use in the presence of threads
463 parameter rather than doing it in a *preexec_fn*.
465 common use of *preexec_fn* to call os.setsid() in the child.
/external/python/cpython2/Doc/library/
Dsubprocess.rst280 stderr=None, preexec_fn=None, close_fds=False, shell=False, \
382 If *preexec_fn* is set to a callable object, this object will be called in the
/external/python/cpython3/Misc/NEWS.d/
D3.7.1rc1.rst347 using subprocess with a preexec_fn while an after_parent handler has been
D3.5.2rc1.rst1439 when preexec_fn is used.
D3.6.0a1.rst2281 when preexec_fn is used.
D3.5.0a1.rst2519 than a potentially risky preexec_fn=os.setsid call.
/external/autotest/client/common_lib/
Dutils.py234 preexec_fn=self._reset_sigpipe,
/external/python/cpython2/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.
/external/python/cpython3/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.

12