summaryrefslogtreecommitdiff
path: root/dmenu_run
diff options
context:
space:
mode:
Diffstat (limited to 'dmenu_run')
-rwxr-xr-xdmenu_run2
1 files changed, 1 insertions, 1 deletions
diff --git a/dmenu_run b/dmenu_run
index 6e96b38..2d12243 100755
--- a/dmenu_run
+++ b/dmenu_run
@@ -6,4 +6,4 @@ CACHE=${XDG_CACHE_HOME:-"$HOME/.cache"}/dmenu_run
mkdir -p "`dirname "$CACHE"`" && lsx $PATH | sort -u > "$CACHE"
fi
)
-cmd=`dmenu "$@" < "$CACHE"` && exec $cmd
+cmd=`dmenu "$@" < "$CACHE"` && exec sh -c "$cmd"