pub fn execute_command( cmd: &str, error_id: &'static str, ) -> Result<String, ShellError<'static>>
Executes a shell command and returns a Result containing the command’s output