Follow Discord
Sweep 30 Oct 2026 · 21:36Z Build v2.1.315 533 read Stable v2.1.308 Latest v2.1.314 Next v2.1.315 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.315 ·

Leftover shell processes are force-stopped when Claude Code exits

On exit, Claude Code now force-stops shell commands and process trees still running after a grace period, except on Windows

You'll notice Improvements
JSON All of v2.1.315
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
Background TasksArea: what it touches
ImprovementsKind: in v2.1.315,
ImprovementsSection of the release

Unclear Apart from never running on Windows, what decides whether this cleanup is switched on is not clear.

What

When Claude Code exits, it now cleans up shell commands that are still running and process trees it was already stopping. A process tree is a command together with every program it started. After a grace period, anything left is force-stopped, and Claude Code logs what it did. Force-stopping means sending SIGKILL, the signal that ends a program immediately.

A command moved to the background can be marked to be left running at exit instead. This cleanup is not installed on Windows.

Why

Fewer stray programs keep running after Claude Code closes.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtApart from never running on Windows, what decides whether this cleanup is switched on is not clear.

See this entry in the whole of v2.1.315 →

Feedback