From bc438e3dca7c3ff7bb07672e410fee7f723f67e9 Mon Sep 17 00:00:00 2001 From: KingRainbow44 Date: Tue, 1 Feb 2022 14:00:00 +0100 Subject: [PATCH] stop complaining my god --- src-tauri/src/system_helpers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") };