monitor_command

Function monitor_command 

Source
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.