Skip to content

libnyanpasu/rust-runas

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 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

About

Runs a command in an elevated context

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 92.3%
  • Shell 4.4%
  • Makefile 3.3%