src/vs/workbench/contrib/terminal/electron-sandbox/localTerminalBackend.ts/LocalTerminalBackend/attachToRevivedProcess
class LocalTerminalBackend:	async attachToRevivedProcess(id: number): Promise<ITerminalChildProcess | undefined> {
		try {
			const newId = await this._localPtyService.getRevivedPtyNewId(id) ?? id;
			return await this.attachToProcess(newId);
		} catch (e) {
			this._logService.warn(`Couldn't attach to process ${e.message}`);
		}
		return undefined;
	}