Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 1.05 KB

README.md

File metadata and controls

25 lines (19 loc) · 1.05 KB

runas

Build Status Crates.io License rustc 1.56.0 Documentation

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