MCPcopy Create free account
hub / github.com/bootc-dev/bootc / run_capture_stderr

Method run_capture_stderr

crates/utils/src/command.rs:141–146  ·  view source on GitHub ↗

Synchronously execute the child, and return an error if the child exited unsuccessfully.

(&mut self)

Source from the content-addressed store, hash-verified

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 {

Callers 15

run_get_outputMethod · 0.80
install_systemd_bootFunction · 0.80
createMethod · 0.80
initialize_ostree_rootFunction · 0.80
install_containerFunction · 0.80
finalize_filesystemFunction · 0.80
setup_tmp_mountFunction · 0.80
setup_sys_mountFunction · 0.80
rebootFunction · 0.80

Calls 1

Tested by 1