This library provides basic super-user shell access in rust.

Example usage

```rust use super_shell::RootShell;

fn main() { // Super user privileges are requested once via pkexec as default. let mut root_shell = RootShell::new().expect("Failed to crate root shell");

// All subsequent requests are executed as root user
println!("{}", root_shell.execute("echo Hello $USER"));

// Each command blocks until the response is fully received
println!("{}", root_shell.execute("echo sleeping for 3s ..."));
root_shell.execute("sleep 3");

} ```

Limitations