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

Method spawn_piped

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

Spawns a child process returning a handle to it. Child's `stdout` will be piped for further reading from it, but `stderr` will be inherited. See the docs for [`Child`] for more details.

(&self)

Source from the content-addressed store, hash-verified

429 /// `stderr` will be inherited.
430 /// See the docs for [`Child`] for more details.
431 pub fn spawn_piped(&self) -> Result<Child> {
432 self.spawn_with(Stdio::piped(), Stdio::inherit())
433 }
434
435 /// More flexible version of `spawn` methods that allows you to specify
436 /// any combination of `stdout` and `stderr` conifigurations.

Callers 2

readMethod · 0.80
read_bytesMethod · 0.80

Calls 1

spawn_withMethod · 0.80

Tested by

no test coverage detected