Expand description
cog-runner-style process supervision (ADR-100 section 3): a cleared environment, rlimits applied in the child before exec, an unprivileged user, a wall-clock cap, capped output capture, and terminate-then-kill.
Structs§
- Launch
Spec - What to launch.
- Proc
Limits - Resource limits applied with
setrlimitin the child. - Supervised
- A running supervised process.
Constants§
- TIMEOUT_
GRACE - Grace before SIGKILL when a run exceeds its wall-clock cap.
Functions§
- running_
as_ root - True when this process runs as root.