Expand description
Running a check: argv only, no stdin, scrubbed environment, a deadline for the whole process group, capped output.
CommandRunner is the seam the sandbox wraps and tests replace.
Structs§
- Captured
- Captured output of one stream.
- Invocation
- What to run.
- Local
Runner - Runs processes on this machine.
- Outcome
- What happened.
Constants§
- OUTPUT_
CAP - Default cap per output stream.
Traits§
- Command
Runner - Runs invocations. The verifier depends only on this trait.
Functions§
- is_
secret - Whether a variable name looks like a credential.
- scrubbed_
env - The child environment: everything except secret-looking variables and
build-output redirections, plus
CI=1andGIT_TERMINAL_PROMPT=0. Not a security boundary — that is the OS sandbox (crate::sandbox).