Function rs_blocks::utils::monitor_command [−][src]
pub fn monitor_command(
cmd: &'static str,
args: &'static [&'static str],
period: f32
) -> Monitor<impl FnMut() -> String>ⓘ
Expand description
Monitor a given command. When iterated it is periodically executed and its stdout is returned.