mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-21 20:18:06 +02:00
9 lines
269 B
Rust
9 lines
269 B
Rust
|
|
use std::{env, process::Command};
|
||
|
|
fn main() {
|
||
|
|
let y = env::var("SAFE").unwrap();
|
||
|
|
|
||
|
|
let x = env::var("DANGEROUS").unwrap();
|
||
|
|
let clean = html_escape::encode_safe(&y);
|
||
|
|
Command::new("sh").arg(x).status().unwrap();
|
||
|
|
Command::new("sh").arg(clean).status().unwrap();
|
||
|
|
}
|