Crate diva

Source
Expand description

Opinionated convenience wrapper for std::process::Command and friends.

Note that this re-exports std::process::ChildStdin, std::process::ExitStatus, and std::process::Stdio, so the docs for those items below might seem a bit out of place.

Structs§

ChildStderr
A handle to a child process’s stderr.
ChildStdin
A handle to a child process’s standard input (stdin).
ChildStdout
A handle to a child process’s standard output (stdout).
Command
Build and run commands to your heart’s content.
Error
The bearer of bad news.
ExitStatus
Describes the result of a process after it has terminated.
Handle
A handle to a child process. You must call either Handle::wait or Handle::wait_for_output to consume the handle. If you don’t, it’ll get mad at you.
Output
All your output, in one convenient place! Wow!
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.

Enums§

Cause
The specific cause of an Error.
OutputStream

Type Aliases§

Result