dmenu_run: sh -c
authorConnor Lane Smith <cls@lubutu.com>
Sun, 24 Jul 2011 19:04:58 +0000 (20:04 +0100)
committerConnor Lane Smith <cls@lubutu.com>
Sun, 24 Jul 2011 19:04:58 +0000 (20:04 +0100)
dmenu_run

index 6e96b38..2d12243 100755 (executable)
--- 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"