Skip to content

Commit

Permalink
fix(cli): escape start --ahk args w/ double quotes
Browse files Browse the repository at this point in the history
fix #1040
  • Loading branch information
DovieW authored and LGUG2Z committed Oct 15, 2024
1 parent b612066 commit aa5a369
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion komorebic/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
);
Expand Down

0 comments on commit aa5a369

Please sign in to comment.