src/vs/platform/terminal/common/capabilities/naiveCwdDetectionCapability.ts/NaiveCwdDetectionCapability/getCwd
class NaiveCwdDetectionCapability:	async getCwd(): Promise<string> {
		if (!this._process) {
			return Promise.resolve('');
		}
		const newCwd = await this._process.getCwd();
		if (newCwd !== this._cwd) {
			this._onDidChangeCwd.fire(newCwd);
		}
		this._cwd = newCwd;
		return this._cwd;
	}