/external/python/cpython3/Modules/ |
D | _posixsubprocess.c | 446 PyObject *preexec_fn, in child_exec() argument 542 if (preexec_fn != Py_None && preexec_fn_args_tuple) { in child_exec() 544 result = PyObject_Call(preexec_fn, preexec_fn_args_tuple, NULL); in child_exec() 617 PyObject *env_list, *preexec_fn; in subprocess_fork_exec() local 647 &preexec_fn)) in subprocess_fork_exec() 650 if ((preexec_fn != Py_None) && in subprocess_fork_exec() 675 if (preexec_fn != Py_None) { in subprocess_fork_exec() 840 if (preexec_fn != Py_None) { in subprocess_fork_exec() 857 if (preexec_fn != Py_None) { in subprocess_fork_exec() 871 py_fds_to_keep, preexec_fn, preexec_fn_args_tuple); in subprocess_fork_exec()
|
/external/chromium-trace/catapult/devil/devil/utils/ |
D | cmd_helper.py | 117 preexec_fn = None 120 preexec_fn = lambda: signal.signal(signal.SIGPIPE, signal.SIG_DFL) function 132 preexec_fn=preexec_fn 150 preexec_fn=preexec_fn,
|
/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/llvm-project/lldb/third_party/Python/module/pexpect-4.6/pexpect/ |
D | popen_spawn.py | 23 codec_errors='strict', preexec_fn=None): argument 42 cwd=cwd, preexec_fn=preexec_fn, env=env)
|
D | pty_spawn.py | 38 ignore_sighup=False, echo=True, preexec_fn=None, argument 204 self._spawn(command, args, preexec_fn, dimensions) 239 def _spawn(self, command, args=[], preexec_fn=None, dimensions=None): argument 285 kwargs = {'echo': self.echo, 'preexec_fn': preexec_fn} 290 if preexec_fn is not None: 291 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/toolchain-utils/cros_utils/ |
D | no_pseudo_terminal_test.py | 31 self._strace_process = subprocess.Popen(args, preexec_fn=os.setpgrp)
|
D | command_executer.py | 111 preexec_fn=os.setsid, 634 preexec_fn=os.setsid)
|
/external/autotest/client/cros/cellular/pseudomodem/ |
D | pseudomodem_context.py | 202 preexec_fn=PseudoModemManagerContext._SetUserModem, 209 preexec_fn=PseudoModemManagerContext._SetUserModem,
|
/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/rust/crates/grpcio-sys/grpc/tools/run_tests/python_utils/ |
D | start_port_server.py | 88 preexec_fn=os.setsid,
|
/external/parameter-framework/upstream/tools/clientSimulator/clientsimulator/testGenerator/ |
D | SubprocessLogger.py | 155 preexec_fn=self.__subProcPreExec,
|
/external/llvm-project/lldb/third_party/Python/module/ptyprocess-0.6.0/ptyprocess/ |
D | ptyprocess.py | 180 cls, argv, cwd=None, env=None, echo=True, preexec_fn=None, argument 268 if preexec_fn is not None: 270 preexec_fn()
|
/external/python/cpython3/Lib/ |
D | subprocess.py | 754 preexec_fn=None, close_fds=True, argument 777 if preexec_fn is not None: 947 self._execute_child(args, executable, preexec_fn, close_fds, 1330 def _execute_child(self, args, executable, preexec_fn, close_fds, argument 1659 def _execute_child(self, args, executable, preexec_fn, close_fds, argument 1695 and preexec_fn is None 1761 preexec_fn)
|
/external/clang/tools/scan-view/share/ |
D | startfile.py | 59 preexec_fn=setsid, startupinfo=startupinfo)
|
/external/llvm-project/clang/tools/scan-view/share/ |
D | startfile.py | 62 preexec_fn=setsid, startupinfo=startupinfo)
|
/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/python/cpython3/Lib/test/ |
D | test_subprocess.py | 2001 preexec_fn=lambda: os.putenv("FRUIT", "apple")) 2010 preexec_fn=raise_it) 2058 stderr=subprocess.PIPE, preexec_fn=raise_it) 2072 preexec_fn=lambda: None) 2079 preexec_fn=lambda: None) 2085 preexec_fn=lambda: None) 2090 preexec_fn=lambda: None) 2112 preexec_fn=lambda: None) 2514 preexec_fn=prepare) 2989 preexec_fn=lambda: os.dup2(1, fd)) [all …]
|
/external/libxkbcommon/test/ |
D | tool-option-parsing.py | 56 p = subprocess.run(args, preexec_fn=_disable_coredump,
|
/external/perfetto/tools/ |
D | record_android_trace | 251 proc = subprocess.Popen(cmd, stdin=stdin, stdout=stdout, preexec_fn=setpgrp)
|
/external/chromium-trace/catapult/common/py_utils/py_utils/ |
D | webpagereplay_go_server.py | 312 preexec_fn=(_ResetInterruptHandler if is_posix else None))
|
/external/llvm-project/lldb/packages/Python/lldbsuite/test/test_runner/ |
D | process_control.py | 309 preexec_fn=preexec_func)
|
/external/python/cpython3/Doc/library/ |
D | subprocess.rst | 339 stderr=None, preexec_fn=None, close_fds=True, shell=False, \ 474 If *preexec_fn* is set to a callable object, this object will be called in the 480 The *preexec_fn* parameter is not safe to use in the presence of threads 489 parameter rather than doing it in a *preexec_fn*. 491 common use of *preexec_fn* to call os.setsid() in the child. 495 The *preexec_fn* parameter is no longer supported in subinterpreters.
|