Crate hb_process

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§

command_ext 🔒

Structs§

Child
Representation of a child process spawned onto an event loop.
ChildStderr
The standard error stream for spawned children.
ChildStdin
The standard input stream for spawned children.
ChildStdout
The standard output stream for spawned children.
Command
This structure mimics the API of std::process::Command found 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.
ExitStatus
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, and stderr methods of Command.

Traits§

ChildExt
Extensions for tokio::process::Child.
CommandExt
Extensions for tokio::process::Command.