10 releases (3 stable)
1.2.0 | Feb 20, 2024 |
---|---|
1.1.0 | May 15, 2023 |
1.0.0 | Feb 7, 2023 |
0.2.1 | Feb 12, 2020 |
0.1.0 | Jun 15, 2016 |
#94 in Unix APIs
62,182 downloads per month
Used in 5 crates
(3 directly)
14KB
277 lines
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
Dependencies
~2–11MB
~133K SLoC