sysmonk::squire::util

Function run_command

source
pub fn run_command(
    command: &str,
    args: &[&str],
    log: bool,
) -> Result<String, String>
Expand description

Function to run a terminal command.

§Arguments

  • command - Command to run
  • log - Boolean flag to log errors

§Returns

A String containing the parsed size string.