Gio.AppInfo.prototype.launch_uris
function launch_uris(uris: Array(String), launch_context: Gio.AppLaunchContext): Boolean {
// Gjs wrapper for g_app_info_launch_uris()
}
Launches the application. This passes the uris to the launched application as arguments, using the optional launch_context to get information about the details of the launcher (like what screen it is on). On error, @error will be set accordingly.
To launch the application without arguments pass a null uris list.
Note that even if the launch is successful the application launched can fail to start if it runs into problems during startup. There is no way to detect this.
- uris
a GLib.List containing URIs to launch.
- launch_context
a Gio.AppLaunchContext or null
- Returns
true on successful launch, false otherwise.