Package: gio

Function g-application-command-line-create-file-for-arg

Lambda List

g-application-command-line-create-file-for-arg (cmdline arg)

Arguments

cmdline -- a g-application-command-line object
arg -- a string with an argument from cmdline

Return Value

A new g-file object.

Details

Creates a g-file object corresponding to a filename that was given as part of the invocation of the command line.

This differs from the g-file-new-for-commandline-arg function in that it resolves relative pathnames using the current working directory of the invoking process rather than the local process.
 

See also

2021-10-8