get_cwd


Description:

[ Version ( since = "2.28" ) ]
public unowned string? get_cwd ()

Gets the working directory of the command line invocation.

The string may contain non-utf8 data.

It is possible that the remote application did not send a working directory, so this may be null.

The return value should not be modified or freed and is valid for as long as this exists.

Parameters:

this

a ApplicationCommandLine

Returns:

the current directory, or null




2022 vala-language.org