ApplicationCommandLine.createFileForArg

Creates a #GFile corresponding to a filename that was given as part of the invocation of cmdline.

This differs from gio.file.File.newForCommandlineArg in that it resolves relative pathnames using the current working directory of the invoking process rather than the local process.

class ApplicationCommandLine
createFileForArg
(
string arg
)

Parameters

arg string

an argument from cmdline

Return Value

Type: gio.file.File

a new #GFile