Process.cwd

string cwd() @property @safe

Gets the current working directory of the process.

Returns

The current working directory path, or empty string if unavailable.