From 3952d1a3a2a27189a630873d344a2e84cb282836 Mon Sep 17 00:00:00 2001 From: bakkeby Date: Mon, 3 Apr 2023 10:45:38 +0200 Subject: [PATCH] Revert 70163696826a255aa6b7f118f13c615551329556 This reverts the commit: [dmenu][PATCH] call exec in dmenu_run, to avoid dangling shell process This to be in line with upstream dmenu. --- dmenu_run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dmenu_run b/dmenu_run index cc05de4..e6d1355 100755 --- a/dmenu_run +++ b/dmenu_run @@ -1,6 +1,6 @@ #!/bin/sh export _JAVA_AWT_WM_NONREPARENTING=1 -exec $(dmenu_path | dmenu "$@") +dmenu_path | dmenu "$@" | ${SHELL:-"/bin/sh"} & # Uncomment for the NAVHISTORY patch (and remove the exec above) #dmenu_path | dmenu -H "${XDG_CACHE_HOME:-$HOME/.cache/}/dmenu_run.hist" "$@" | ${SHELL:-"/bin/sh"} & \ No newline at end of file