Home
last modified time | relevance | path

Searched refs:close_fds (Results 1 – 25 of 33) sorted by relevance

12

/third_party/python/Modules/
D_posixsubprocess.c463 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/
Dkmsg01.c487 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/
Dpstream-util.c72 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
Dpstream-util.h30 …m_send_tagstruct_with_fds(pa_pstream *p, pa_tagstruct *t, int nfd, const int *fds, bool close_fds);
/third_party/python/Lib/
Dwebbrowser.py180 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,
Dsubprocess.py755 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/
Dtest_subprocess.py1892 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/
Dtest_subprocess.py318 close_fds=False,
337 close_fds=False,
356 close_fds=False,
375 close_fds=False,
394 close_fds=False,
/third_party/python/Lib/multiprocessing/
Dpopen_spawn_posix.py68 self.finalizer = util.Finalize(self, util.close_fds, fds_to_close)
Dpopen_forkserver.py55 self.finalizer = util.Finalize(self, util.close_fds,
Dpopen_fork.py77 self.finalizer = util.Finalize(self, util.close_fds,
Dutil.py461 def close_fds(*fds): function
/third_party/python/Doc/library/
Dsubprocess.rst339 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/
Dbench.py586 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)
Ddata.py175 close_fds=False)
206 close_fds=False)
247 close_fds=False)
Dcode.py175 close_fds=False)
206 close_fds=False)
247 close_fds=False)
Dtest.py603 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)
Dperf.py188 err = sp.call(perf + command, close_fds=False)
275 close_fds=False)
324 close_fds=False)
422 close_fds=False)
Dwatch.py167 close_fds=False)
Dstructs.py163 close_fds=False)
204 close_fds=False)
Dperfbd.py183 close_fds=False)
232 close_fds=False)
Dcov.py230 close_fds=False)
/third_party/icu/tools/scripts/
Duconfig_vars_test.py44 stderr=subprocess.STDOUT, close_fds=True)
/third_party/python/Lib/test/libregrtest/
Druntest_mp.py75 close_fds=(os.name != 'nt'),
/third_party/python/Misc/NEWS.d/
D3.7.0a4.rst795 Implement support for `subprocess.Popen(close_fds=True)` on Windows. Patch

12