diff --git a/src-tauri/src/lib.rs b/src-tauri/src/lib.rs index 1510cce..543f88c 100644 --- a/src-tauri/src/lib.rs +++ b/src-tauri/src/lib.rs @@ -314,7 +314,8 @@ async fn execute_post_install(handle: &AppHandle, log_id: &str, steps: Vec { emit_log(handle, log_id, "Command Execution", &format!("{}Executing: {}", step_prefix, run), "info"); let output = Command::new("cmd") - .args(["/C", &run]) + .arg("/C") + .raw_arg(&run) .creation_flags(0x08000000) .output();