Re: [hackers] [dmenu][PATCH] dmenu_run: run "exec program" instead of "program" in shell

From: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
Date: Wed, 11 Nov 2020 01:16:58 +0100

On Tue, Nov 10, 2020 at 11:09:24PM +0100, наб wrote:
> This means that for long-running programs the process tree is
> /init → program instead of /init → /bin/sh → program
> ---
> Please keep me in CC
>
> dmenu_run | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/dmenu_run b/dmenu_run
> index 834ede5..9a68aa8 100755
> --- a/dmenu_run
> +++ b/dmenu_run
> _AT_@ -1,2 +1,2 @@
> #!/bin/sh
> -dmenu_path | dmenu "$_AT_" | ${SHELL:-"/bin/sh"} &
> +dmenu_path | dmenu "$_AT_" | sed 's/^/exec /' | ${SHELL:-"/bin/sh"} &
> --
> 2.29.2

No this has been sent before. The current behaviour stays the default.

-- 
Kind regards,
Hiltjo

Received on Wed Nov 11 2020 - 01:16:58 CET

This archive was generated by hypermail 2.3.0 : Wed Nov 11 2020 - 01:24:32 CET