bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bash exits with "Broken pipe" with process subsitution and sleep


From: Oğuz
Subject: Re: Bash exits with "Broken pipe" with process subsitution and sleep
Date: Mon, 1 Sep 2025 17:43:43 +0300

On Monday, September 1, 2025, Martin D Kealey <martin@kurahaupo.gen.nz>
wrote:
>
> Well, if it's waiting for a subprocess to exit
>

There's no problem when that is the case. The echo in OP's reproducer is
not executed in a subprocess but in the shell that's also executing the for
loop, hence its receiving of SIGPIPE and termination.


-- 
Oğuz


reply via email to

[Prev in Thread] Current Thread [Next in Thread]