src/vs/workbench/api/browser/mainThreadTerminalService.ts/MainThreadTerminalService/$sendProcessExit
class MainThreadTerminalService:	public $sendProcessExit(terminalId: number, exitCode: number | undefined): void {
		this._terminalProcessProxies.get(terminalId)?.emitExit(exitCode);
	}