system 0.3.4

Cross-platform crate to easily run shell commands, similar to the C system function.
Documentation
1
2
3
4
5
6
7
use system::system;

#[test]
fn test() {
    let status = system("echo Hello, world!").expect("Failed to run command.");
    assert_eq!(status.code().unwrap(), 0);
}