mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-24 14:36:13 +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 ();
|
||||
g_spawn_async (working_folder,
|
||||
g_spawn_async_with_pipes (working_folder,
|
||||
child_argv, NULL /* envp */,
|
||||
G_SPAWN_DO_NOT_REAP_CHILD | G_SPAWN_SEARCH_PATH,
|
||||
NULL, NULL,
|
||||
&pid,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
&error);
|
||||
g_free (working_folder);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user