Gio.AppInfo.create_from_commandline
function create_from_commandline(commandline: String, application_name: String, flags: Gio.AppInfoCreateFlags): Gio.AppInfo { // Gjs wrapper for g_app_info_create_from_commandline() }
Creates a new Gio.AppInfo from the given information.
Note that for commandline, the quoting rules of the Exec key of the [freedesktop.org Desktop Entry Specification](http://freedesktop.org/Standards/desktop-entry-spec) are applied. For example, if the commandline contains percent-encoded URIs, the percent-character must be doubled in order to prevent it from being swallowed by Exec key unquoting. See the specification for exact quoting rules.
- commandline
the commandline to use
- application_name
the application name, or null to use commandline
- flags
flags that can specify details of the created Gio.AppInfo
- Returns
new Gio.AppInfo for given command.