Icicle\Concurrent\Process\Process::getWorkingDirectory PHP Method

getWorkingDirectory() public method

Gets the current working directory.
public getWorkingDirectory ( ) : string
return string The current working directory or null if inherited from the current PHP process.
    public function getWorkingDirectory() : string
    {
        if ('' === $this->cwd) {
            return getcwd() ?: '';
        }
        return $this->cwd;
    }