MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / cmd_output

Function cmd_output

scripts/publish.rs:218–224  ·  view source on GitHub ↗
(cmd: &mut Command)

Source from the content-addressed store, hash-verified

216}
217
218fn cmd_output(cmd: &mut Command) -> Output {
219 eprintln!("Running: `{:?}`", cmd);
220 match cmd.output() {
221 Ok(o) => o,
222 Err(e) => panic!("Failed to run `{:?}`: {}", cmd, e),
223 }
224}
225
226fn cmd_status(cmd: &mut Command) -> ExitStatus {
227 eprintln!("Running: `{:?}`", cmd);

Callers 2

curlFunction · 0.85
verifyFunction · 0.85

Calls 1

outputMethod · 0.80

Tested by

no test coverage detected