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

Method run

crates/utils/src/chroot.rs:169–173  ·  view source on GitHub ↗

Run the specified command inside the chroot, inheriting stdio. `args` must include the program as its first element.

(self, args: impl IntoIterator<Item = S>)

Source from the content-addressed store, hash-verified

167 /// Run the specified command inside the chroot, inheriting stdio.
168 /// `args` must include the program as its first element.
169 pub fn run<S: AsRef<OsStr>>(self, args: impl IntoIterator<Item = S>) -> Result<()> {
170 self.build_command(args)?
171 .log_debug()
172 .run_inherited_with_cmd_context()
173 }
174
175 /// Run the specified command inside the chroot and capture stdout
176 /// as a string. `args` must include the program as its first

Callers

nothing calls this directly

Calls 3

log_debugMethod · 0.80
build_commandMethod · 0.80

Tested by

no test coverage detected