{"version":"2.1.337","anchor":"windows-guidance-on-ending-commands-early-and-leftover-proce","canonical_anchor":"windows-guidance-on-ending-commands-early-and-leftover-proce","heading":"Windows guidance on leftover processes after stopping a command","tier":"notice","area":"Windows","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337\/e\/windows-guidance-on-ending-commands-early-and-leftover-proce","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337","markdown":"### Windows guidance on leftover processes after stopping a command\n\nClaude Code contains guidance telling the model how to find and end programs left running on Windows after a command is stopped early\n\n**Unclear.** It is not clear whether this guidance reaches the model in any session yet.\n\n**What**\n\nClaude Code contains guidance for the model about Windows. It says that ending a command early does not reach every program the command started, such as Git Bash's rm, sleep, sh and env, and npm scripts. It tells the model to use `tasklist` and `taskkill -PID <n> -T -F` to find and end those programs, and to end a program only when it can tell the command started it.\n\n**Why**\n\nThis could change how Claude handles stuck or leftover processes on Windows.\n\n- Area: Windows\n- Names: `taskkill`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}