From 21a5be040448548f1e641d5d6a9e9b080ec63504 Mon Sep 17 00:00:00 2001 From: KamQb <76776123+KamQb@users.noreply.github.com> Date: Thu, 11 Jan 2024 18:44:20 +0100 Subject: [PATCH] fix(component): fix ahk invocation by adding quotes around arguments Fixes ahk launch uf user has spaces in arguments for ahk (ahk exe path or komorebi home directory) --- 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 9614f411..c1a4bb0c 100644 --- a/komorebic/src/main.rs +++ b/komorebic/src/main.rs @@ -1785,7 +1785,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() );