Expand description
Subprocess runner for hook commands.
Hooks are executed as shell subprocesses. The command receives JSON on stdin and communicates results via exit codes and optional JSON on stdout.
Exit codes:
- 0: Success (operation proceeds)
- 2: Block (operation is denied)
- Other: Error (logged, operation proceeds)
Structsยง
- Hook
Executor - Executes hook commands as subprocesses.
- Hook
Result - Result from executing a single hook command.