Skip to content

mitsuhiko/rust-runas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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