/third_party/python/Modules/ |
D | _posixsubprocess.c | 463 int close_fds, int restore_signals, in child_exec() argument 592 if (close_fds) { in child_exec() 662 int close_fds, int restore_signals, in do_fork_exec() argument 710 close_fds, restore_signals, call_setsid, in do_fork_exec() 730 int errpipe_read, errpipe_write, close_fds, restore_signals; in subprocess_fork_exec() local 748 &close_fds, &PyTuple_Type, &py_fds_to_keep, in subprocess_fork_exec() 764 if (close_fds && errpipe_write < 3) { /* precondition */ in subprocess_fork_exec() 956 close_fds, restore_signals, call_setsid, in subprocess_fork_exec()
|
/third_party/ltp/testcases/kernel/logging/kmsg/ |
D | kmsg01.c | 487 goto close_fds; in test_seek() 492 goto close_fds; in test_seek() 496 goto close_fds; in test_seek() 499 goto close_fds; in test_seek() 502 close_fds: in test_seek()
|
/third_party/pulseaudio/src/pulsecore/ |
D | pstream-util.c | 72 bool close_fds) { in pa_pstream_send_tagstruct_with_fds() argument 78 a.close_fds_on_cleanup = close_fds; in pa_pstream_send_tagstruct_with_fds() 94 bool close_fds) { in pa_pstream_send_tagstruct_with_fds() argument
|
D | pstream-util.h | 30 …m_send_tagstruct_with_fds(pa_pstream *p, pa_tagstruct *t, int nfd, const int *fds, bool close_fds);
|
/third_party/python/Lib/ |
D | webbrowser.py | 180 p = subprocess.Popen(cmdline, close_fds=True) 198 p = subprocess.Popen(cmdline, close_fds=True, 237 p = subprocess.Popen(cmdline, close_fds=True, stdin=inout, 370 close_fds=True, stdin=devnull, 382 close_fds=True, stdin=devnull, 395 close_fds=True, stdin=devnull,
|
D | subprocess.py | 755 preexec_fn=None, close_fds=True, argument 788 if pass_fds and not close_fds: 790 close_fds = True 966 self._execute_child(args, executable, preexec_fn, close_fds, 1349 def _execute_child(self, args, executable, preexec_fn, close_fds, argument 1401 if have_handle_list or (use_std_handles and close_fds): 1413 if not close_fds: 1420 close_fds = False 1438 int(not close_fds), 1682 def _execute_child(self, args, executable, preexec_fn, close_fds, argument [all …]
|
/third_party/python/Lib/test/ |
D | test_subprocess.py | 1892 for close_fds in (False, True): 1893 with self.subTest(user=user, close_fds=close_fds): 1899 close_fds=close_fds) 1940 for close_fds in (False, True): 1941 with self.subTest(group=group, close_fds=close_fds): 1947 close_fds=close_fds) 2281 close_fds=True, 2303 close_fds=True, 2659 stderr=subprocess.PIPE, close_fds=False) 2664 stdout=subprocess.PIPE, close_fds=False) [all …]
|
/third_party/python/Lib/test/test_asyncio/ |
D | test_subprocess.py | 318 close_fds=False, 337 close_fds=False, 356 close_fds=False, 375 close_fds=False, 394 close_fds=False,
|
/third_party/python/Lib/multiprocessing/ |
D | popen_spawn_posix.py | 68 self.finalizer = util.Finalize(self, util.close_fds, fds_to_close)
|
D | popen_forkserver.py | 55 self.finalizer = util.Finalize(self, util.close_fds,
|
D | popen_fork.py | 77 self.finalizer = util.Finalize(self, util.close_fds,
|
D | util.py | 461 def close_fds(*fds): function
|
/third_party/python/Doc/library/ |
D | subprocess.rst | 339 stderr=None, preexec_fn=None, close_fds=True, shell=False, \ 519 If *close_fds* is true, all file descriptors except :const:`0`, :const:`1` and 521 when *close_fds* is false, file descriptors obey their inheritable flag 524 On Windows, if *close_fds* is true then no handles will be inherited by the 529 The default for *close_fds* was changed from :const:`False` to 533 On Windows the default for *close_fds* was changed from :const:`False` to 535 set *close_fds* to :const:`True` when redirecting the standard handles. 539 *close_fds* to be :const:`True`. (POSIX only) 963 Sequence of handles that will be inherited. *close_fds* must be true if 1362 stdin=PIPE, stdout=PIPE, close_fds=True) [all …]
|
/third_party/littlefs/scripts/ |
D | bench.py | 586 close_fds=False) 616 close_fds=False) 660 close_fds=False) 690 close_fds=False) 796 proc = sp.Popen(cmd, stdout=spty, stderr=spty, close_fds=False)
|
D | data.py | 175 close_fds=False) 206 close_fds=False) 247 close_fds=False)
|
D | code.py | 175 close_fds=False) 206 close_fds=False) 247 close_fds=False)
|
D | test.py | 603 close_fds=False) 633 close_fds=False) 677 close_fds=False) 707 close_fds=False) 806 proc = sp.Popen(cmd, stdout=spty, stderr=spty, close_fds=False)
|
D | perf.py | 188 err = sp.call(perf + command, close_fds=False) 275 close_fds=False) 324 close_fds=False) 422 close_fds=False)
|
D | watch.py | 167 close_fds=False)
|
D | structs.py | 163 close_fds=False) 204 close_fds=False)
|
D | perfbd.py | 183 close_fds=False) 232 close_fds=False)
|
D | cov.py | 230 close_fds=False)
|
/third_party/icu/tools/scripts/ |
D | uconfig_vars_test.py | 44 stderr=subprocess.STDOUT, close_fds=True)
|
/third_party/python/Lib/test/libregrtest/ |
D | runtest_mp.py | 75 close_fds=(os.name != 'nt'),
|
/third_party/python/Misc/NEWS.d/ |
D | 3.7.0a4.rst | 795 Implement support for `subprocess.Popen(close_fds=True)` on Windows. Patch
|