child's current working directory, or NULL to inherit parent's
child's argument vector
child's environment, or NULL to inherit parent's
flags from GSpawnFlags
function to run in the child just before exec()
user data for child_setup
return location for child process ID, or NULL
TRUE on success, FALSE if error is set
GException on failure.
Warning gdk_spawn_on_screen has been deprecated since version 2.24 and should not be used in newly-written code. This function is being removed in 3.0. Use either g_spawn_sync(), g_spawn_async(), or GdkAppLaunchContext instead. Like g_spawn_async(), except the child process is spawned in such an environment that on calling gdk_display_open() it would be returned a GdkDisplay with screen as the default screen. This is useful for applications which wish to launch an application on a specific screen. Since 2.4