execute_command

Function execute_command 

Source
pub fn execute_command(
    cmd: &str,
    error_id: &'static str,
) -> Result<String, ShellError<'static>>
Expand description

Executes a shell command and returns a Result containing the command’s output