Synchronously execute the child, and return an error if the child exited unsuccessfully.
(&mut self)
| 139 | |
| 140 | /// Synchronously execute the child, and return an error if the child exited unsuccessfully. |
| 141 | fn run_capture_stderr(&mut self) -> Result<()> { |
| 142 | let stderr = tempfile::tempfile()?; |
| 143 | self.stderr(stderr.try_clone()?); |
| 144 | tracing::trace!("exec: {self:?}"); |
| 145 | self.status()?.check_status_with_stderr(stderr) |
| 146 | } |
| 147 | |
| 148 | #[allow(unsafe_code)] |
| 149 | fn lifecycle_bind(&mut self) -> &mut Self { |