mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-06-09 06:10:07 +02:00
Merge branch 'test-dbus-posix_spawn' into 'master'
gtestdbus: Use posix_spawn() to spawn dbus-daemon See merge request GNOME/glib!1388
This commit is contained in:
commit
70c5fd53e9
@ -604,11 +604,12 @@ start_daemon (GTestDBus *self)
|
|||||||
g_spawn_async_with_pipes (NULL,
|
g_spawn_async_with_pipes (NULL,
|
||||||
(gchar **) argv,
|
(gchar **) argv,
|
||||||
NULL,
|
NULL,
|
||||||
#ifdef G_OS_WIN32
|
|
||||||
/* We Need this to get the pid returned on win32 */
|
/* We Need this to get the pid returned on win32 */
|
||||||
G_SPAWN_DO_NOT_REAP_CHILD |
|
G_SPAWN_DO_NOT_REAP_CHILD |
|
||||||
#endif
|
G_SPAWN_SEARCH_PATH |
|
||||||
G_SPAWN_SEARCH_PATH,
|
/* dbus-daemon will not abuse our descriptors, and
|
||||||
|
* passing this means we can use posix_spawn() for speed */
|
||||||
|
G_SPAWN_LEAVE_DESCRIPTORS_OPEN,
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
&self->priv->bus_pid,
|
&self->priv->bus_pid,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user