runas
A simple Rust library that can execute commands as root.
use Command;
let status = new
.arg
.status
.unwrap;
License and Links
- Documentation
- Issue Tracker
- Examples
- License: Apache-2.0
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();