gAppInfoCreateFromCommandline {RGtk2} | R Documentation

## 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.
``error`` | a `GError` location to store the error occuring, `NULL` to ignore.

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.36.3 Index]