src/vs/workbench/contrib/terminal/browser/terminalInstance.ts/TerminalInstance/_updateProcessCwd
class TerminalInstance:	private async _updateProcessCwd(): Promise<string> {
		// reset cwd if it has changed, so file based url paths can be resolved
		const cwd = await this.getCwd();
		if (cwd && this._linkManager) {
			this._linkManager.processCwd = cwd;
		}
		return cwd;
	}