From: Michael Stapelberg Date: Fri, 11 Jul 2014 07:51:05 +0000 (+0200) Subject: Bugfix: i3-dmenu-desktop: quote path (Thanks nikolaus) X-Git-Tag: 4.9~69^2^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9b0ec8b2ae56e3a66487ac420eca236f64aa4c4c;p=i3%2Fi3 Bugfix: i3-dmenu-desktop: quote path (Thanks nikolaus) fixes #1316 --- 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 = '';