List of URIs. [element-type utf8]
a GAppLaunchContext
GSpawnFlags, used for each process
a GSpawnChildSetupFunc, used once for each process. [scope call]
User data for user_setup. [closure user_setup]
Callback for child processes. [scope call]
User data for callback. [closure pid_callback]
TRUE on successful launch, FALSE otherwise.
GException on failure.
This function performs the equivalent of g_app_info_launch_uris(), but is intended primarily for operating system components that launch applications. Ordinary applications should use g_app_info_launch_uris(). If the application is launched via traditional UNIX fork()/exec() then spawn_flags, user_setup and user_setup_data are used for the call to g_spawn_async(). Additionally, pid_callback (with pid_callback_data) will be called to inform about the PID of the created process. If application launching occurs via some other mechanism (eg: D-Bus activation) then spawn_flags, user_setup, user_setup_data, pid_callback and pid_callback_data are ignored.