[hackers] [dmenu][PATCH] call exec in dmenu_run, to avoid dangling shell process

From: Philip K <philip_AT_warpmail.net>
Date: Wed, 15 Apr 2020 20:27:15 +0200

---
 dmenu_run | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dmenu_run b/dmenu_run
index 834ede5..1eff6af 100755
--- a/dmenu_run
+++ b/dmenu_run
_AT_@ -1,2 +1,2 @@
 #!/bin/sh
-dmenu_path | dmenu "$_AT_" | ${SHELL:-"/bin/sh"} &
+exec $(dmenu_path | dmenu "$_AT_")
-- 
2.20.1
Received on Wed Apr 15 2020 - 20:27:15 CEST

This archive was generated by hypermail 2.3.0 : Wed Apr 15 2020 - 21:12:39 CEST