What
Hooks are commands Claude Code runs automatically at certain points. On Windows, Claude Code can now start a bash process before a hook needs it, so the hook can run with less startup delay. This only applies when:
- bash is given as a full path
- that path is not inside
system32orwindowsapps - the policy setting
disableWindowsBashCommandSplitis not set to true
The feature is controlled by a setting sent from Claude Code's servers.
Why
Hooks may start faster, but because a hook now runs in a shell that was started earlier, it could behave slightly differently. Administrators can turn it off with disableWindowsBashCommandSplit.