Search the documentation
2 pages for --hook-timeout.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Customize sessions in self-hosted environments
Claude Code CLI · in the page
self-hosted-environments-configuration
…hronously, without waiting for the runner to boot, and return within `--hook-timeout`, 60 seconds by default. The hook receives: | Variable | Description…
Self-hosted environments reference
Claude Code CLI · in the page
self-hosted-environments-reference
…| | `--hook-timeout <sec>` | `60` | Terminate the hook's process tree after this many seconds. The timeout plus its 5-seco…