bug-bash
[Top][All Lists]
Advanced

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

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


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

On Sunday, August 31, 2025, Maria <mariacalia@proton.me> wrote:

> Bash exiting early with an exit code
> indicating a signal using nothing but a command line does not
> sound like expected behavior to me.
>

What else should happen instead? echo is a shell builtin, when its write
end is a broken pipe, the shell performing it receives a signal. There is
nothing unexpected about this. Are you saying an interactive shell should
handle signals gracefully when it's executing builtin commands?


-- 
Oğuz


reply via email to

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