Creates a new [iface@Gio.
AppInfo] from the given information.
When constructing commandline, quote any filenames or potentially- untrusted input using [func@GLib.shell_quote], and note
that the quoting rules of the `Exec` key of the
freedesktop.org Desktop Entry Specification 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 command line to use |
| application_name |
the application name, or `NULL` to use |
| flags |
flags that can specify details of the created [iface@Gio.AppInfo] |
|
new [iface@Gio.AppInfo] for given command. |