{"version":"2.1.336","anchor":"hook-subprocess-handling-reworked","canonical_anchor":"hook-subprocess-handling-reworked","heading":"Hooks on Windows no longer reuse a waiting Git Bash shell","tier":"notice","area":"Windows","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336\/e\/hook-subprocess-handling-reworked","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336","markdown":"### Hooks on Windows no longer reuse a waiting Git Bash shell\n\nHooks on Windows Git Bash no longer reuse a shell that is already waiting, and how a hook is stopped has changed\n\n**Unclear.** It is not clear whether the new way of stopping hooks is switched on, or what you will notice on Windows.\n\n**What**\n\nHooks are scripts you set up to run when Claude Code does something. The way Claude Code starts them changed:\n\n- Windows: hooks no longer reuse a Git Bash shell that is already waiting, and no longer write a starting command into that shell's input.\n\n- Stopping: Claude Code can now stop a running hook directly, behind an internal check.\n\n**Why**\n\nThis may change how hooks behave on Windows and what happens when a hook is cancelled.\n\n- Area: Windows\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}