Bugfix: i3-dmenu-desktop: quote path (Thanks nikolaus)

fixes #1316
This commit is contained in:
Michael Stapelberg 2014-07-11 09:51:05 +02:00
parent 931dda2d0b
commit 9b0ec8b2ae

View File

@ -410,7 +410,7 @@ $exec =~ s/%k/$location/g;
$exec =~ s/%%/%/g; $exec =~ s/%%/%/g;
if (exists($app->{Path}) && $app->{Path} ne '') { if (exists($app->{Path}) && $app->{Path} ne '') {
$exec = 'cd ' . $app->{Path} . ' && ' . $exec; $exec = 'cd ' . quote($app->{Path}) . ' && ' . $exec;
} }
my $nosn = ''; my $nosn = '';