pub fn log_command_execution( command: &str, args: &[String], result: &Result<(), String>, working_dir: Option<&Path>, )