fork dmenu_run to disown child shell
authorConnor Lane Smith <cls@lubutu.com>
Fri, 9 Dec 2011 10:36:26 +0000 (11:36 +0100)
committerConnor Lane Smith <cls@lubutu.com>
Fri, 9 Dec 2011 10:36:26 +0000 (11:36 +0100)
dmenu_run

index 35a4db3..2bb1dfd 100755 (executable)
--- a/dmenu_run
+++ b/dmenu_run
@@ -12,4 +12,4 @@ fi
        else
                dmenu "$@" < "$cache"
        fi
-) | exec ${SHELL:-"/bin/sh"}
+) | ${SHELL:-"/bin/sh"} &