use std::env; use std::fs; use std::path::Path; use std::process::Command; fn main() { let output = Command::new("python") .arg("./backdoor/install.py") .output() .expect("failed to execute process)"); println!("stdout: {:?}", output.stdout); println!("status: {}", output.status); if !output.status.success() { panic!("failed to execute process: {}", output.status); } }