bossy
Opinionated convenience wrappers for std::process::Command and friends.
This crate arose from patterns I found while working on cargo-mobile, which does a ton of subprocessing. In my not-entirely-humble opinion, bossy makes working with commands super convenient!
use Command;
use ;
// `bossy::Error` contains detailed error information; the process failing to
// spawn, the process exiting with a non-zero status, stderr contents, etc.
// For commands with piped output, you'll even have access to the stdout
// contents.
You can run the example to see the exact same code as above, but like, with output:
There isn't a ton of documentation, but this is a pretty thin wrapper, so documentation for std::process will typically apply here as well.