Expand description
Command hook handler — feeds the step envelope JSON to an external subprocess. The IO protocol passes stdout through as verdict JSON.
§Shape
CommandSpec: handler configuration — either direct argv spawn or explicit shell.CommandHandler: implementsStepHandler; spawn / kill_on_drop / timeout follow the documented semantics.
No shell dependency: direct argv spawn is the default; only the explicit shell field
uses a shell.
Platform fallback: on cfg(unix) and cfg(windows), spawns the child process via
tokio::process::Command.
Structs§
- Command
Handler Commandhandler implementation.
Enums§
- Command
Spec - Configuration for a command handler.
- Shell
Kind - Explicit shell kind. The engine uses this tag to select the executable and its flag.