let execute ?quiet ?pretend cmd = match execute_many ?quiet ?pretend [cmd] with | Some(_, exn) -> raise exn | _ -> ()