(&mut self)
| 117 | |
| 118 | impl ExitStatusExt for std::process::ExitStatus { |
| 119 | fn check_status(&mut self) -> Result<()> { |
| 120 | if self.success() { |
| 121 | return Ok(()); |
| 122 | } |
| 123 | anyhow::bail!(format!("Subprocess failed: {self:?}")) |
| 124 | } |
| 125 | fn check_status_with_stderr(&mut self, stderr: std::fs::File) -> Result<()> { |
| 126 | let stderr_buf = last_utf8_content_from_file(stderr); |
| 127 | if self.success() { |
no outgoing calls