getProcessCwd
getProcessCwd():
string
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/utils/systemUtils.ts:223
The raw process working directory, ignoring INIT_CWD. getCurrentWorkDir prefers
npm’s INIT_CWD (correct for a CLI invoked via an npm bin), but that leaks into long-lived
subprocesses (e.g. an ACP agent spawned by an IDE), so server entry points that get their
real workspace from the protocol should use this instead.
Returns
Section titled “Returns”string