src/vs/platform/terminal/node/ptyService.ts/PtyService/detachFromProcess
class PtyService:	async detachFromProcess(id: number, forcePersist?: boolean): Promise<void> {
		return this._throwIfNoPty(id).detach(forcePersist);
	}