diff --git a/src-tauri/src/system_helpers.rs b/src-tauri/src/system_helpers.rs index ed497e9..b0e4c73 100644 --- a/src-tauri/src/system_helpers.rs +++ b/src-tauri/src/system_helpers.rs @@ -25,7 +25,7 @@ pub fn run_command(command: String) { } else { Command::new("sh") .arg("-c") - .arg(command) + .arg(command.as_str()) .output() .expect("failed to execute process") };