gAppInfoLaunchUris

Share:

Description

Launches the application. Passes 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.

Usage

1
gAppInfoLaunchUris(object, uris, launch.context, .errwarn = TRUE)

Arguments

object

a GAppInfo

uris

a list containing URIs to launch.

launch.context

a GAppLaunchContext or NULL

.errwarn

Whether to issue a warning on error or fail silently

Details

To lauch 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.

Value

A list containing the following elements:

retval

[logical] TRUE on successful launch, FALSE otherwise.

error

a GError

Author(s)

Derived by RGtkGen from GTK+ documentation

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.