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

Still happening. 1 report in each of the last two weeks, down from 2 a week at the late-September peak.

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

  1. Orphaned git.exe processes pile up5 people
  2. Hook timeout hangs tool call2 people
  3. Worktree isolation refused2 people
  4. Stopping background Bash task leaves child process running, output file grows2 people

Not quite your bug?

  1. Finished Bash calls stuck Running2 people

Original reports9, newest first

  1. Bash tool on Windows: a timed-out or stopped task leaves its child processes running (orphaned grep.exe grew to 13.8 GB)#106742
  2. [Windows] Background tail -f | grep pipelines orphaned after session ends (still reproduces, re-open of #77593)#106483
  3. 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
  4. Stopping a workflow leaves Bash background shells started by its subagents running (Linux)#103658
  5. [Windows] TaskStop / background-task kill leaves Git Bash child processes running (orphaned grep, find, du, sleep for hours)#101012
  6. [Windows] Monitor / background Bash pipelines orphan tail/grep grandchildren after bash exits (66 found, oldest 167 h)#100399
  7. [CRITICAL] Sub-agent ran rm -rf on the user's Windows home directory (via 8.3 short name), no hard guard; delete kept running after the task was stopped#99198
  8. 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
  9. Monitor/TaskStop removes the task from the panel but leaves the spawned process running (orphaned tail -F accumulates)#95242

Do you work on Claude Code?

Claim its RAP Sheet to see what your users report and answer them in one place.