Skip to main content

Module supervisor

Module supervisor 

Source

Structs§

Supervisor
Minimal PID-file supervision for long_running actions: start detached in a fresh process group with output to a log file, record the PID, stop by signaling the group. No daemon, no restart policy.

Enums§

StopOutcome

Functions§

run_captured
Run a one-shot shell command, capturing stdout (for state refs) while still logging both streams. Unlike run_foreground, output does not go to the terminal — checkpoint machinery consumes it instead.
run_foreground
Run a one-shot command in the workspace, teeing output to the terminal and a log file. Returns the exit code.