{"version":"2.1.304","anchor":"remote-attach-gains-endprocessonexit-and-a-left-for-tab-ha","canonical_anchor":"remote-attach-gains-endprocessonexit-and-a-left-for-tab-ha","heading":"Remote attach can end Claude Code on exit or hand off to another tab","tier":"internal","area":"Sessions","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.304\/e\/remote-attach-gains-endprocessonexit-and-a-left-for-tab-ha","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.304","markdown":"### Remote attach can end Claude Code on exit or hand off to another tab\n\nAttaching to a remote session gained an option to end Claude Code when the attached screen closes, and a way to swap screens for another tab\n\n**Unclear.** Nothing shown here turns on `endProcessOnExit` or the tab handoff, so it is unclear whether a reader ever meets them.\n\n**What**\n\nAttaching to a remote session (connecting your terminal to a Claude Code session running elsewhere) gained an `endProcessOnExit` option. When it is set, leaving the attached screen ends the Claude Code process.\n\nThe exit step can also detect that you left for another tab, and in that case swaps the screen without ending the process. Nothing in this release was seen setting the new option.\n\n**Why**\n\nIn practice this lays groundwork for an attach flow that can hand you off to another tab without closing Claude Code.\n\n- Area: Sessions\n- Tier: Under the hood\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}