glib/gtester.c:Use g_spawn_async_with_pipes()
authorTim Janik <timj@src.gnome.org>
Tue, 20 Nov 2007 15:00:35 +0000 (15:00 +0000)
committerTim Janik <timj@src.gnome.org>
Tue, 20 Nov 2007 15:00:35 +0000 (15:00 +0000)
svn path=/trunk/; revision=5889

glib/gtester.c

index 03c1d80f4ca5f793fa752ddf25dd7e327368e5d6..b6957526a82c17315874c07ea1d2c833805ff41e 100644 (file)
@@ -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);