Function marid::launch [] [src]

pub fn launch<R>(runner: R, signals: Vec<Signal>) -> MaridProcess where R: Runner + Send + 'static

Launch the specified runner as well as listen on the specified signals.

Safety

This must be called before any threads are spawned in the process to ensure appropriate signal handling behavior.