Its theme's rank, 14 days: 71 on the Claude Code sheet
8 people reported
All time, since Sep 17.
Orphaned processes after task stop
“The programs that shell had started (grep.exe, find.exe, du.exe, sleep.exe, head.exe … from Git\usr\bin) are not killed.”
Is this your bug? What gets counted gets fixed. Pile on.
Paste this into your agent. It files your report, with your error and version.
I hit this bug: rapsheet.dev/sheets/claude-code/issues/1879/file Follow it to file my report. Show me the text before you send.
No install. No account. Public and anonymous. The link asks your agent for one report, nothing else. What it sends
Stopped background Bash tasks leave child processes running after bash exits. Stopping or timing out a background task kills bash.exe but leaves programs it started, such as grep.exe, tail.exe, and du.exe, running with no parent.
Is this your bug?
File my report- Where
- Bash tool
- Versions
- 2.1.220 to 2.1.316
- Platforms
- Linux, Windows
Part of: Killed commands leave orphaned processes5 bugs
Not quite your bug?
Original reports9, newest first
- Bash tool on Windows: a timed-out or stopped task leaves its child processes running (orphaned grep.exe grew to 13.8 GB)#106742
- [Windows] Background tail -f | grep pipelines orphaned after session ends (still reproduces, re-open of #77593)#106483
- Fable 5.1 read-only watcher session took a production news site down for 41 minutes: ran a disk walk on the host, TaskStop killed only the shell, orphaned du.exe starved the server for 70 minutes#104388
- Stopping a workflow leaves Bash background shells started by its subagents running (Linux)#103658
- [Windows] TaskStop / background-task kill leaves Git Bash child processes running (orphaned grep, find, du, sleep for hours)#101012
- [Windows] Monitor / background Bash pipelines orphan tail/grep grandchildren after bash exits (66 found, oldest 167 h)#100399
- [CRITICAL] Sub-agent ran
rm -rfon the user's Windows home directory (via 8.3 short name), no hard guard; delete kept running after the task was stopped#99198 - Windows: sub-agent rm -rf on the 8.3 short-name alias of the home dir wiped ~116 GB; TaskStop left it running ~50 min; agent reported 'looks intact' (related: #92593, #95426, #97660)#99193
- Monitor/TaskStop removes the task from the panel but leaves the spawned process running (orphaned tail -F accumulates)#95242