Re: Automatic Termination After Background Job Completes

Herbert Xu <[email protected]> Tue, 26 Aug 2025 13:38:45 +0800
Newsgroups org.kernel.vger.dash
Message-ID <[email protected]>
Lawrence Velázquez <[email protected]> wrote:
> On Fri, Apr 4, 2025, at 9:09 AM, Nathan Royce wrote:
>> Setting an emacs/vi flag when starting dash, and using an external
>> command for a background job, the shell terminates once the job
>> completes.
> 
> With dash 0.5.12, I'm seeing this behavior regardless of whether
> the background job uses a shell built-in or an external utility.
> 
>        zsh% PS1='dash$ ' dash -V
>        dash$ : &
>        dash$
>        zsh%

I cannot reproduce this.  Please try the latest git tree and if
it still happens, run it under strace and send me the result.

Thanks,
-- 
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt