pub fn run_command_with_timeout( cmd: &mut Command, timeout: Duration, ) -> Result<(ExitStatus, String, String), String>
Executes a command with a strict timeout, capturing stdout and stderr.