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§
- Process
Stamp - Identifies one incarnation of one process.
Enums§
- Capture
Failure - Timed
Command - Result of
run_with_timeout.
Constants§
- COMMAND_
STDERR_ LIMIT - COMMAND_
STDOUT_ LIMIT - Stripe JSON can be larger than a console log. Neither stream may grow without a limit.
Functions§
- effective_
user_ id - kill_
process_ group - SIGKILL the process group whose leader is
pid(set byprocess_group(0)). - kill_
process_ tree - SIGKILL
rootand every descendant, including children that created their own process group (Stripe CLI helpers). - kill_
process_ tree_ stamped - Stop only the supplied process incarnation and the descendants observed under it.
- real_
user_ id - run_
with_ timeout - Capture a child while this process remains alive. The internal helper uses this
primitive; controller callers must use
helper_command::HelperCommandso the deadline survives controller death. Incomplete or excess output cannot finish.