MCPcopy Create free account
hub / github.com/elastio/devx / run

Method run

devx-cmd/src/lib.rs:401–404  ·  view source on GitHub ↗

Same as `cmd.spawn()?.wait()` See [`Child::wait()`] for details.

(&self)

Source from the content-addressed store, hash-verified

399 /// Same as `cmd.spawn()?.wait()`
400 /// See [`Child::wait()`] for details.
401 pub fn run(&self) -> Result<()> {
402 self.spawn()?.wait()?;
403 Ok(())
404 }
405
406 /// Same as `cmd.spawn_piped()?.read()`
407 /// See [`Child::read()`] for details.

Callers 1

rustfmtMethod · 0.80

Calls 2

waitMethod · 0.80
spawnMethod · 0.80

Tested by

no test coverage detected