aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConnor Lane Smith2011-07-24 20:04:58 +0100
committerConnor Lane Smith2011-07-24 20:04:58 +0100
commit4692f84ff01e2187e2e3c642bcc68a15a77a6d9f (patch)
treefdcc8b2b92068c9df964bc698caf805be81803b9
parentc805dcbeaff38dfcf78bdcc10c863eb7e1bbc32d (diff)
dmenu_run: sh -c
-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"