Synchronously execute the child, and parse its stdout as JSON.
(&mut self)
| 184 | |
| 185 | /// Synchronously execute the child, and parse its stdout as JSON. |
| 186 | fn run_and_parse_json<T: serde::de::DeserializeOwned>(&mut self) -> Result<T> { |
| 187 | let output = self.run_get_output()?; |
| 188 | serde_json::from_reader(output).map_err(Into::into) |
| 189 | } |
| 190 | |
| 191 | fn run_inherited_with_cmd_context(&mut self) -> Result<()> { |
| 192 | self.status()? |