[hackers] [dmenu] dmenu_run: sh -c || Connor Lane Smith

From: <hg_AT_suckless.org>
Date: Sun, 24 Jul 2011 21:06:27 +0200 (CEST)

changeset: 433:f6b31468f983
tag: tip
user: Connor Lane Smith <cls_AT_lubutu.com>
date: Sun Jul 24 20:04:58 2011 +0100
files: dmenu_run
description:
dmenu_run: sh -c

diff -r 4b44e3cbdb64 -r f6b31468f983 dmenu_run
--- a/dmenu_run Fri Jul 22 18:16:57 2011 +0100
+++ b/dmenu_run Sun Jul 24 20:04:58 2011 +0100
@@ -6,4 +6,4 @@
                 mkdir -p "`dirname "$CACHE"`" && lsx $PATH | sort -u > "$CACHE"
         fi
 )
-cmd=`dmenu "$@" < "$CACHE"` && exec $cmd
+cmd=`dmenu "$@" < "$CACHE"` && exec sh -c "$cmd"
Received on Sun Jul 24 2011 - 21:06:27 CEST

This archive was generated by hypermail 2.2.0 : Sun Jul 24 2011 - 21:12:04 CEST