dmenu_run: sh -c

This commit is contained in:
Connor Lane Smith 2011-07-24 20:04:58 +01:00
parent c805dcbeaf
commit 4692f84ff0

View File

@ -6,4 +6,4 @@ CACHE=${XDG_CACHE_HOME:-"$HOME/.cache"}/dmenu_run
mkdir -p "`dirname "$CACHE"`" && lsx $PATH | sort -u > "$CACHE" mkdir -p "`dirname "$CACHE"`" && lsx $PATH | sort -u > "$CACHE"
fi fi
) )
cmd=`dmenu "$@" < "$CACHE"` && exec $cmd cmd=`dmenu "$@" < "$CACHE"` && exec sh -c "$cmd"