Package: gio

Function g-application-command-line-get-arguments

Lambda List

g-application-command-line-get-arguments (cmdline)

Arguments

cmdline -- a g-application-command-line instance

Return Value

The list of strings containing the command line arguments.

Details

Gets the list of arguments that was passed on the command line. The strings in the list may contain non-UTF-8 data on UNIX, such as filenames or arguments given in the system locale, but are always in UTF-8 on Windows.

If you wish to use the return value with the g-option-context implementation, you must use the g-option-context-parse-strv function.
 

See also

*2021-10-8