Add warning when exiting with background processes running

Status Closed — not planned
Maintainer reply None cached
Activity 4 comments · opened Dec 20, 2025 · 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.

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗