Crate hb_process
Expand description
Extensions for tokio::process::Command and tokio::process::Child.
Internally this library uses log, but is designed for [tracing].
Modules§
Structs§
- Child
- Representation of a child process spawned onto an event loop.
- Child
Stderr - The standard error stream for spawned children.
- Child
Stdin - The standard input stream for spawned children.
- Child
Stdout - The standard output stream for spawned children.
- Command
- This structure mimics the API of
std::process::Commandfound in the standard library, but replaces functions that create a process with an asynchronous variant. The main provided asynchronous functions are spawn, status, and output. - Exit
Status - Describes the result of a process after it has terminated.
- Output
- The output of a finished process.
- Stdio
- Describes what to do with a standard I/O stream for a child process when
passed to the
stdin,stdout, andstderrmethods ofCommand.
Traits§
- Child
Ext - Extensions for
tokio::process::Child. - Command
Ext - Extensions for
tokio::process::Command.