Learn R Programming

RGtk2 (version 2.20.31)

gAppInfoLaunchUris: gAppInfoLaunchUris

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

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

Arguments

object
uris
a list containing URIs to launch.
launch.context
.errwarn
Whether to issue a warning on error or fail silently

Value

A list containing the following elements:
retval
[logical] TRUE on successful launch, FALSE otherwise.
error
a GError

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.