Expand description
Typed dual-subprocess runner — the shared substrate every ParityCheck rides on.
The original sui-sweep ran two subprocesses inline. Reaching for the
same shape from a second site (the rebuild-probe sweep, the eventual
sui rebuild-shadow subcommand, the operator-facing fleet rebuild --shadow-sui wrapper) makes this the canonical place to put it.
Two construction guarantees this module pins down:
- NO SHELL. Every subprocess is built with typed
Commandpieces. There is nobash -canywhere in the parity path. - Timeout is mandatory. Every invocation goes through
run_with_timeout, which SIGKILLs the child aftertimeout. The parity harness must never hang on a runaway evaluator.
Structs§
- Captured
Output - Captured output of one subprocess invocation.
Functions§
- command_
argv - Render a
Commandback to a typed argv vector for the report. - dual_
run - Run two commands sequentially under the same timeout each, returning
(sui_output, nix_output). - run_
with_ timeout - Run a single command with a hard SIGKILL on timeout.