mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
glib/gtester.c:Use g_spawn_async_with_pipes()
svn path=/trunk/; revision=5889
This commit is contained in:
parent
0217653b80
commit
e413112683
@ -48,11 +48,14 @@ main (int argc,
|
|||||||
};
|
};
|
||||||
|
|
||||||
working_folder = g_get_current_dir ();
|
working_folder = g_get_current_dir ();
|
||||||
g_spawn_async (working_folder,
|
g_spawn_async_with_pipes (working_folder,
|
||||||
child_argv, NULL /* envp */,
|
child_argv, NULL /* envp */,
|
||||||
G_SPAWN_DO_NOT_REAP_CHILD | G_SPAWN_SEARCH_PATH,
|
G_SPAWN_DO_NOT_REAP_CHILD | G_SPAWN_SEARCH_PATH,
|
||||||
NULL, NULL,
|
NULL, NULL,
|
||||||
&pid,
|
&pid,
|
||||||
|
NULL,
|
||||||
|
NULL,
|
||||||
|
NULL,
|
||||||
&error);
|
&error);
|
||||||
g_free (working_folder);
|
g_free (working_folder);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user