Learn R Programming

RGtk2 (version 2.20.1)

gAppInfoCreateFromCommandline: gAppInfoCreateFromCommandline

Description

Creates a new GAppInfo from the given information.

Usage

gAppInfoCreateFromCommandline(commandline, application.name = NULL, flags = "G_APP_INFO_CREATE_NONE", .errwarn = TRUE)

Arguments

commandline
the commandline to use
application.name
the application name, or NULL to use commandline
flags
flags that can specify details of the created GAppInfo
.errwarn
Whether to issue a warning on error or fail silently

Value

  • A list containing the following elements:
  • retval[GAppInfo] new GAppInfo for given command.
  • errora GError location to store the error occuring, NULL to ignore.