diff options
author | Michael Stapelberg <michael@stapelberg.de> | 2014-07-11 09:51:05 +0200 |
---|---|---|
committer | Michael Stapelberg <michael@stapelberg.de> | 2014-07-11 09:51:05 +0200 |
commit | 9b0ec8b2ae56e3a66487ac420eca236f64aa4c4c (patch) | |
tree | d8e2b5aac903e4e961f29bb8a982f8ec3a31f427 /i3-dmenu-desktop | |
parent | 931dda2d0bf72ab81bf9394a1b04872d35dc46c2 (diff) | |
download | i3-9b0ec8b2ae56e3a66487ac420eca236f64aa4c4c.tar.gz i3-9b0ec8b2ae56e3a66487ac420eca236f64aa4c4c.zip |
Bugfix: i3-dmenu-desktop: quote path (Thanks nikolaus)
fixes #1316
Diffstat (limited to 'i3-dmenu-desktop')
-rwxr-xr-x | i3-dmenu-desktop | 2 |
1 files changed, 1 insertions, 1 deletions
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 = ''; |