fn format_command_output( stdout: &[u8], stderr: &[u8], code: Option<i32>, ) -> String
Stdout, then stderr, then the exit code, which search commands need: grep and rg exit 1 for no match and higher for errors.