Remote control: archiving a session on iOS should terminate the server-side process
Status Closed — not planned
Maintainer reply None cached
Workaround ✓ Mentioned in description ↑
Activity 2 comments · opened Mar 29, 2026 · closed May 1, 2026
Description
When using claude remote-control --spawn same-dir in a loop to enable sequential remote sessions from the iOS app, archiving a session in the iOS app does not terminate the server-side process. The Mac terminal keeps waiting for input, so no new session spawns.
Current behavior
- Run
while true; do claude remote-control --spawn same-dir; sleep 3; done - A session appears in the Claude iOS app
- Tap "Archive" in the iOS app
- The session is archived on the iOS side, but the terminal process keeps running
- No new session spawns — the loop doesn't iterate
Expected behavior
Archiving (or explicitly closing) a session in the iOS app should signal the server-side process to exit, so the loop can restart and a new session appears in the app automatically.
Workaround
Manually press Ctrl+C in the Mac terminal after archiving on iOS. The loop then restarts and a new session appears.
Environment
- macOS, Claude Code CLI
- Claude iOS app
claude remote-control --spawn same-dir
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗