/external/python/cpython3/Modules/ |
D | _posixsubprocess.c | 409 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/ |
D | cmd_utils.py | 222 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/ |
D | cmd_helper.py | 95 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/ |
D | subprocess.py | 336 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))
|
D | webbrowser.py | 198 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/ |
D | top.py | 34 preexec_fn=os.setpgrp,
|
/external/autotest/client/cros/cellular/pseudomodem/ |
D | pseudomodem_context.py | 202 preexec_fn=PseudoModemManagerContext._SetUserModem, 209 preexec_fn=PseudoModemManagerContext._SetUserModem,
|
/external/python/cpython3/Lib/ |
D | subprocess.py | 658 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/ |
D | start_port_server.py | 81 args, env=env, preexec_fn=os.setsid, close_fds=True)
|
/external/parameter-framework/upstream/tools/clientSimulator/clientsimulator/testGenerator/ |
D | SubprocessLogger.py | 155 preexec_fn=self.__subProcPreExec,
|
/external/clang/tools/scan-view/share/ |
D | startfile.py | 59 preexec_fn=setsid, startupinfo=startupinfo)
|
/external/python/cpython3/Lib/test/ |
D | test_subprocess.py | 1697 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 …]
|
D | test_cmd_line.py | 391 preexec_fn=preexec)
|
/external/python/cpython2/Lib/test/ |
D | test_subprocess.py | 878 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/ |
D | command_executer.py | 106 preexec_fn=os.setsid, 605 preexec_fn=os.setsid)
|
/external/autotest/scheduler/ |
D | drone_utility.py | 326 stderr=open('/dev/null', 'a'), preexec_fn=os.setpgrp)
|
/external/python/cpython3/Doc/library/ |
D | subprocess.rst | 337 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/ |
D | subprocess.rst | 280 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/ |
D | 3.7.1rc1.rst | 347 using subprocess with a preexec_fn while an after_parent handler has been
|
D | 3.5.2rc1.rst | 1439 when preexec_fn is used.
|
D | 3.6.0a1.rst | 2281 when preexec_fn is used.
|
D | 3.5.0a1.rst | 2519 than a potentially risky preexec_fn=os.setsid call.
|
/external/autotest/client/common_lib/ |
D | utils.py | 234 preexec_fn=self._reset_sigpipe,
|
/external/python/cpython2/Doc/whatsnew/ |
D | 2.4.rst | 400 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/ |
D | 2.4.rst | 400 preexec_fn=None, close_fds=False, shell=False, 427 * *preexec_fn* is a function that gets called before the child is started.
|