.. | ||
examples | ||
src | ||
.cargo-checksum.json | ||
Cargo.lock | ||
Cargo.toml | ||
LICENSE | ||
Makefile | ||
README.md | ||
upload-docs.sh |
runas
A simple Rust library that can execute commands as root.
use runas::Command;
let status = Command::new("rm")
.arg("/usr/local/my-app")
.status()
.unwrap();
License and Links
- Documentation
- Issue Tracker
- Examples
- License: Apache-2.0