Add warning when exiting with background processes running
Resolved 💬 4 comments Opened Dec 20, 2025 by ykdojo Closed Feb 27, 2026
Feature Request
When exiting Claude Code with Ctrl+C, there should be a warning if there are background bash processes still running.
Problem
Currently, if you have background tasks running (e.g., started with run_in_background: true) and exit Claude Code with Ctrl+C, those processes get killed without any warning. This can lead to accidentally terminating long-running operations.
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗