MCPcopy Create free account
hub / github.com/NLnetLabs/cascade / run_cmd

Function run_cmd

build.rs:43–49  ·  view source on GitHub ↗
(cmd: &str, args: I)

Source from the content-addressed store, hash-verified

41}
42
43fn run_cmd<I, S>(cmd: &str, args: I) -> Result<Output, std::io::Error>
44where
45 I: IntoIterator<Item = S>,
46 S: AsRef<OsStr>,
47{
48 Command::new(cmd).args(args).output()
49}
50
51fn run_cmd_strip<I, S>(cmd: &str, args: I) -> Result<String, std::io::Error>
52where

Callers 2

mainFunction · 0.70
get_commit_idFunction · 0.70

Calls 1

outputMethod · 0.80

Tested by

no test coverage detected