launchUrisAsManager

open fun launchUrisAsManager(uris: <Error class: unknown class>, launchContext: AppLaunchContext? = null, spawnFlags: <Error class: unknown class>, userSetup: <Error class: unknown class>?, pidCallback: DesktopAppLaunchCallback?): <Error class: unknown class><Boolean>

This function performs the equivalent of method@Gio.AppInfo.launch_uris, but is intended primarily for operating system components that launch applications. Ordinary applications should use method@Gio.AppInfo.launch_uris.

If the application is launched via GSpawn, then @spawn_flags, @user_setup and @user_setup_data are used for the call to func@GLib.spawn_async. Additionally, @pid_callback (with @pid_callback_data) will be called to inform about the PID of the created process. See func@GLib.spawn_async_with_pipes for information on certain parameter conditions that can enable an optimized man:posix_spawn(3) code path to be used.

If application launching occurs via some other mechanism (for example, D-Bus activation) then @spawn_flags, @user_setup, @user_setup_data,

Return

TRUE on successful launch, FALSE otherwise.

Parameters

uris

List of URIs

launchContext

a class@Gio.AppLaunchContext

spawnFlags

flags@GLib.SpawnFlags, used for each process

userSetup

a callback@GLib.SpawnChildSetupFunc, used once for each process.

pidCallback

Callback for child processes