From aa5a36989ff79c9409d9f8e1862085ee32af8683 Mon Sep 17 00:00:00 2001 From: Dovie Weinstock Date: Mon, 14 Oct 2024 23:20:02 -0400 Subject: [PATCH] fix(cli): escape start --ahk args w/ double quotes fix #1040 --- komorebic/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/komorebic/src/main.rs b/komorebic/src/main.rs index 79a5c4536..b7cc2ba4a 100644 --- a/komorebic/src/main.rs +++ b/komorebic/src/main.rs @@ -2026,7 +2026,7 @@ if (!(Get-Process whkd -ErrorAction SilentlyContinue)) let script = format!( r#" - Start-Process '{ahk}' '{config}' -WindowStyle hidden + Start-Process '"{ahk}"' '"{config}"' -WindowStyle hidden "#, config = config_ahk.display() );