Skip to content

supervisor

Functions


firma_run::supervisor::wait_with_signal_forwarding

Section titled “firma_run::supervisor::wait_with_signal_forwarding”

Function

Wait for a child process while forwarding Ctrl-C termination.

Returns an error when child wait operations fail or repeated termination signals are received before process exit.

fn wait_with_signal_forwarding(child: std::process::Child) -> Result<i32, crate::error::RunError>