From 9b0ec8b2ae56e3a66487ac420eca236f64aa4c4c Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Fri, 11 Jul 2014 09:51:05 +0200 Subject: [PATCH] Bugfix: i3-dmenu-desktop: quote path (Thanks nikolaus) fixes #1316 --- i3-dmenu-desktop | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i3-dmenu-desktop b/i3-dmenu-desktop index 4a2371e2..2c54233d 100755 --- a/i3-dmenu-desktop +++ b/i3-dmenu-desktop @@ -410,7 +410,7 @@ $exec =~ s/%k/$location/g; $exec =~ s/%%/%/g; if (exists($app->{Path}) && $app->{Path} ne '') { - $exec = 'cd ' . $app->{Path} . ' && ' . $exec; + $exec = 'cd ' . quote($app->{Path}) . ' && ' . $exec; } my $nosn = ''; -- 2.39.5