createFileForArg

open fun createFileForArg(arg: String): File

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

This differs from g_file_new_for_commandline_arg() in that it resolves relative pathnames using the current working directory of the invoking process rather than the local process.

Return

a new #GFile

Since

2.36

Parameters

arg

an argument from @cmdline