getCwd

open fun getCwd(): String?

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 @cmdline exists.

Return

the current directory, or null

Since

2.28