{"version":"2.1.333","anchor":"process-kill-on-windows-waits-for-taskkill-session-leader-t","canonical_anchor":"process-kill-on-windows-waits-for-taskkill-session-leader-t","heading":"Stopping a shell command on Windows waits for it to really end","tier":"notice","area":"Windows","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/process-kill-on-windows-waits-for-taskkill-session-leader-t","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Stopping a shell command on Windows waits for it to really end\n\nOn Windows, stopping a shell command now waits for both the kill and the process to finish before the grace period ends\n\n**What**\n\nWhen Claude Code stops a shell command, it now identifies the command's process group more precisely. On Windows, it now waits for both the system kill command and the process itself to finish before the grace period, the short wait before Claude Code gives up, ends.\n\n**Why**\n\nCancelling a command should be more reliable. Claude Code is also less likely to end an unrelated program that has taken over a finished command's process number.\n\n- Area: Windows\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}