Home
last modified time | relevance | path

Searched refs:file_actions (Results 1 – 8 of 8) sorted by relevance

/third_party/glib/glib/
Dgspawn.c1801 posix_spawn_file_actions_t file_actions; in do_posix_spawn() local
1842 r = posix_spawn_file_actions_init (&file_actions); in do_posix_spawn()
1850 r = posix_spawn_file_actions_adddup2 (&file_actions, stdin_fd, 0); in do_posix_spawn()
1868 r = posix_spawn_file_actions_adddup2 (&file_actions, read_null, 0); in do_posix_spawn()
1875 r = posix_spawn_file_actions_adddup2 (&file_actions, stdout_fd, 1); in do_posix_spawn()
1892 r = posix_spawn_file_actions_adddup2 (&file_actions, write_null, 1); in do_posix_spawn()
1899 r = posix_spawn_file_actions_adddup2 (&file_actions, stderr_fd, 2); in do_posix_spawn()
1916 r = posix_spawn_file_actions_adddup2 (&file_actions, write_null, 2); in do_posix_spawn()
1930 r = posix_spawn_file_actions_addclose (&file_actions, in do_posix_spawn()
1942 …r = posix_spawn (&pid, argv[0], &file_actions, &attr, (char * const *) argv_pass, (char * const *)… in do_posix_spawn()
[all …]
/third_party/python/Lib/test/
Dtest_posix.py1620 file_actions=None
1629 file_actions=[]
1807 file_actions = [
1815 file_actions=file_actions)
1822 file_actions=[None])
1825 file_actions=[()])
1828 file_actions=[(None,)])
1831 file_actions=[(12345,)])
1834 file_actions=[(os.POSIX_SPAWN_CLOSE,)])
1837 file_actions=[(os.POSIX_SPAWN_CLOSE, 1, 2)])
[all …]
/third_party/libuv/src/unix/
Dprocess.c394 } file_actions; member
405 posix_spawn_fncs.file_actions.addchdir_np = in uv__spawn_init_posix_spawn_fncs()
530 if (posix_spawn_fncs->file_actions.addchdir_np == NULL) { in uv__spawn_set_posix_spawn_file_actions()
535 err = posix_spawn_fncs->file_actions.addchdir_np(actions, options->cwd); in uv__spawn_set_posix_spawn_file_actions()
/third_party/python/Lib/
Dsubprocess.py1661 file_actions = []
1664 file_actions.append((os.POSIX_SPAWN_CLOSE, fd))
1671 file_actions.append((os.POSIX_SPAWN_DUP2, fd, fd2))
1672 if file_actions:
1673 kwargs['file_actions'] = file_actions
/third_party/python/Modules/clinic/
Dposixmodule.c.h2222 PyObject *env, PyObject *file_actions,
2238 PyObject *file_actions = NULL; in os_posix_spawn() local
2259 file_actions = args[3]; in os_posix_spawn()
2302 …return_value = os_posix_spawn_impl(module, &path, argv, env, file_actions, setpgroup, resetids, se… in os_posix_spawn()
2349 PyObject *env, PyObject *file_actions,
2365 PyObject *file_actions = NULL; in os_posix_spawnp() local
2386 file_actions = args[3]; in os_posix_spawnp()
2429 …return_value = os_posix_spawnp_impl(module, &path, argv, env, file_actions, setpgroup, resetids, s… in os_posix_spawnp()
/third_party/python/Modules/
Dposixmodule.c6021 parse_file_actions(PyObject *file_actions, in parse_file_actions() argument
6029 seq = PySequence_Fast(file_actions, in parse_file_actions()
6134 PyObject *env, PyObject *file_actions, in py_posix_spawn() argument
6188 if (file_actions != NULL && file_actions != Py_None) { in py_posix_spawn()
6201 if (parse_file_actions(file_actions, &file_actions_buf, temp_buffer)) { in py_posix_spawn()
6290 PyObject *env, PyObject *file_actions, in os_posix_spawn_impl() argument
6296 return py_posix_spawn(0, module, path, argv, env, file_actions, in os_posix_spawn_impl()
6336 PyObject *env, PyObject *file_actions, in os_posix_spawnp_impl() argument
6342 return py_posix_spawn(1, module, path, argv, env, file_actions, in os_posix_spawnp_impl()
/third_party/python/Misc/NEWS.d/
D3.8.0b1.rst1104 when file_actions is None.
/third_party/python/Doc/library/
Dos.rst3917 .. function:: posix_spawn(path, argv, env, *, file_actions=None, \
3932 The *file_actions* argument may be a sequence of tuples describing actions
4003 .. function:: posix_spawnp(path, argv, env, *, file_actions=None, \