exec

Crates.ioexec
lib.rsexec
version0.3.1
sourcesrc
created_at2016-03-25 02:49:17.157834
updated_at2017-09-22 11:24:38.962911
descriptionUse the POSIX exec function to replace the running program with another
homepage
repositoryhttps://github.com/faradayio/exec-rs
max_upload_size
id4558
size21,124
Eric Kidd (emk)

documentation

https://docs.rs/exec/

README

exec: A Rust library to replace the running program with another

Latest version License Build Status

Documentation

This is a simple Rust wrapper around execvp. It can be used as follows:

let err = exec::Command::new("echo")
    .arg("hello").arg("world")
    .exec();
println!("Error: {}", err);

Note that if exec returns, it will always return an error. There's also a lower-level exec::execvp function if you need to use it.

Commit count: 24

cargo fmt