Package: gio

Function gio:app-info-create-from-commandline

Lambda List

gio:app-info-create-from-commandline (cmdline application flags)

Arguments

cmdline -- a string for the commandline to use
application -- a string for the application name, or nil to use cmdline
flags -- a g:app-info-create-flags value for the flags that can specify details of the created g:app-info instance

Return Value

The new g:app-info instance.

Details

Creates a new g:app-info instance from the given information. Note that for the cmdline argument, the quoting rules of the Exec key of the freedesktop.org Desktop Entry Specification are applied. For example, if the cmdline argument 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.
 

See also

2025-2-3