Expand description
ProcessPromise (a prepared zx command) and RunningProcess (a
spawned one), plus the runner that drives the child processes.
Like zx, a failed command is reported by handing back its full
ProcessOutput as the error value; keeping it unboxed lets callers match
on Err(out) and read out.exit_code directly.
Structs§
- Process
Promise - A prepared command (zx
ProcessPromise). Nothing runs until it is awaited,run,run_syncorspawnis called. - Running
Process - A command started with
ProcessPromise::spawn.
Enums§
- Pipe
From - Which stream of a source command feeds a pipe.
Type Aliases§
- ZxResult
- Result of awaiting a command:
Okon success (or withnothrow),Errwith the sameProcessOutputotherwise.