Run the specified command inside the chroot and capture stdout as a string. `args` must include the program as its first element.
(
self,
args: impl IntoIterator<Item = S>,
)
| 176 | /// as a string. `args` must include the program as its first |
| 177 | /// element. |
| 178 | pub fn run_get_string<S: AsRef<OsStr>>( |
| 179 | self, |
| 180 | args: impl IntoIterator<Item = S>, |
| 181 | ) -> Result<String> { |
| 182 | self.build_command(args)?.log_debug().run_get_string() |
| 183 | } |
| 184 | } |
| 185 | |
| 186 | #[cfg(test)] |
no test coverage detected