MCPcopy Create free account
hub / github.com/CodSpeedHQ/codspeed / command_in

Function command_in

src/executor/valgrind/build_from_source.rs:68–73  ·  view source on GitHub ↗
(directory: &Path, program: S, args: &[&str])

Source from the content-addressed store, hash-verified

66}
67
68fn command_in<S: AsRef<OsStr>>(directory: &Path, program: S, args: &[&str]) -> CommandBuilder {
69 let mut builder = CommandBuilder::new(program);
70 builder.args(args);
71 builder.current_dir(directory);
72 builder
73}
74
75/// Run a build command, piping its output to the logs, and fail on a non-zero exit status.
76async fn run_build_command(builder: CommandBuilder) -> Result<()> {

Callers 2

fetch_and_compileFunction · 0.85
install_buildFunction · 0.85

Calls 2

argsMethod · 0.80
current_dirMethod · 0.80

Tested by

no test coverage detected