|new 0.0.14||Aug 1, 2020|
|0.0.13||Aug 1, 2020|
|0.0.7||Jul 17, 2020|
|0.0.5||Jun 26, 2020|
#139 in Operating systems
87 downloads per month
library to support executing system commands
Reef is distributed under the terms of both the MIT license and the Apache License (Version 2.0). See LICENSE-APACHE and LICENSE-MIT for details. Opening a pull requests is assumed to signal agreement with these licensing terms.
This crate provides a library for executing system commands.
This crate is on crates.io and can be
used by adding
reef to your dependencies in your project's
[dependencies] reef = "0"
If you're using Rust 2015, then you'll also need to add it to your crate root:
extern crate reef;
note: git must be available in the system PATH for this example to work.
use reef::Command; let git_version = Command::new("git --version",&std::env::temp_dir()).exec().unwrap(); assert!(git_version.stdout().contains("git version"));