src/vs/workbench/api/browser/mainThreadTerminalService.ts/MainThreadTerminalService/_getTerminalProcess
class MainThreadTerminalService:	private _getTerminalProcess(terminalId: number): ITerminalProcessExtHostProxy | undefined {
		const terminal = this._terminalProcessProxies.get(terminalId);
		if (!terminal) {
			this._logService.error(`Unknown terminal: ${terminalId}`);
			return undefined;
		}
		return terminal;
	}