Commit e4131126 authored by Tim Janik's avatar Tim Janik

glib/gtester.c:Use g_spawn_async_with_pipes()

svn path=/trunk/; revision=5889
parent 0217653b
...@@ -48,11 +48,14 @@ main (int argc, ...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment