Skip to main content

Module process

Module process 

Source
Expand description

PID + process start time: the PID-reuse-safe liveness identity used for operation locks (§2) and daemon supervision (§3). Bounded subprocess waits (Stripe / launchctl / reaper children) live here so a hung helper cannot pin the control plane forever.

Structs§

ProcessStamp
Identifies one incarnation of one process.

Enums§

TimedCommand
Result of run_with_timeout.

Functions§

kill_process_group
SIGKILL the process group whose leader is pid (set by process_group(0)).
kill_process_tree
SIGKILL root and every descendant, including children that created their own process group (Stripe CLI helpers).
run_with_timeout
Spawn cmd in its own process group, wait up to budget, and SIGKILL the process tree if it overruns.