{"version":"2.1.333","anchor":"windows-git-bash-direct-launch-path-and-shell-hook-without-o","canonical_anchor":"windows-git-bash-direct-launch-path-and-shell-hook-without-o","heading":"Windows can launch Git Bash directly and run simple bash hooks without an extra shell","tier":"soon","area":"Windows","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/windows-git-bash-direct-launch-path-and-shell-hook-without-o","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Windows can launch Git Bash directly and run simple bash hooks without an extra shell\n\nOn Windows, Claude Code can start Git Bash's bash.exe directly and run simple `bash ...` hooks without an outer shell, falling back on any mismatch\n\n**Unclear.** Whether either new launch path is switched on for a given account.\n\n**What**\n\nOn Windows, Claude Code uses the bash that comes with Git for Windows (Git Bash) to run shell commands. Two new ways of starting it are added, each controlled by a setting sent from Claude Code's servers:\n\n- Claude Code can find Git Bash's `bash.exe` and start it directly, setting up the MSYS environment (the Unix-like layer Git Bash relies on) itself instead of using the usual launcher.\n\n- A hook (a command Claude Code runs automatically at certain points) that is a simple `bash ...` command can run without an extra shell wrapped around it, but only after a test run shows the output is the same.\n\nBoth go back to the old way whenever anything does not match. The direct start can be switched off with the policy setting `disableWindowsBashCommandSplit`. Skipping the launcher or the outer shell applies only to some hook events, and only to hooks that Claude Code waits on.\n\n**Why**\n\nWindows users may see commands and hooks start in a different way. If a hook behaves differently, an administrator can set `disableWindowsBashCommandSplit` to switch off the direct launch.\n\n- Flag `tengu_groovy_crane`: Not enough to say (read for one account on one subscription tier against v2.1.333; this account: no value returned, anonymous baseline: no value returned, compiled default: on) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.\n- Flag `tengu_rosy_lighthouse`: Not enough to say (read for one account on one subscription tier against v2.1.333; this account: no value returned, anonymous baseline: no value returned, compiled default: on) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.\n- Area: Windows\n- Tier: Nothing to try yet\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no\n- Present in the build but not switched on"}