Skip to content

Benjins-automation/forked__mitsuhiko__rust-runas

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 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

Packages

No packages published

Languages

  • Rust 91.8%
  • Shell 4.7%
  • Makefile 3.5%