ApplicationCommandLine.createFileForArg

gio.file.File createFileForArg(string arg)

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.

Parameters

argan argument from cmdline

Returns

a new #GFile