Run a `Command`, returning an [`OutputResult`]. # Examples ```rust use assert_cmd::Command; let result = Command::new("echo") .args(&["42"]) .ok(); assert!(result.is_ok()); ```
(&mut self)
| 139 | /// ``` |
| 140 | /// |
| 141 | pub fn ok(&mut self) -> OutputResult { |
| 142 | OutputOkExt::ok(self) |
| 143 | } |
| 144 | |
| 145 | /// Run a `Command`, unwrapping the [`OutputResult`]. |
| 146 | /// |
no test coverage detected