MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / run

Method run

atomic-cli/tests/it/remote_sandbox_client_test.rs:206–208  ·  view source on GitHub ↗

Run `atomic` in `cwd`. With a socket, over the reactor transport — and never starting a daemon of its own.

(&self, cwd: &Path, args: &[&str])

Source from the content-addressed store, hash-verified

204 /// Run `atomic` in `cwd`. With a socket, over the reactor transport —
205 /// and never starting a daemon of its own.
206 fn run(&self, cwd: &Path, args: &[&str]) -> Output {
207 self.run_with_stdin(cwd, args, None)
208 }
209
210 fn run_with_stdin(&self, cwd: &Path, args: &[&str], stdin: Option<&str>) -> Output {
211 let mut command = Command::new(env!("CARGO_BIN_EXE_atomic"));

Calls 1

run_with_stdinMethod · 0.80

Tested by

no test coverage detected