[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Proposal for a New Bash Option: failfast for Immediate Pipeline Fail
From: |
ama bamo |
Subject: |
Re: Proposal for a New Bash Option: failfast for Immediate Pipeline Failure |
Date: |
Sat, 29 Jun 2024 16:54:21 +0200 |
I see, thank you then.
It was nice to hear from you.
Regards
Mateusz
On Fri, Jun 28, 2024 at 7:26 PM Chet Ramey <chet.ramey@case.edu> wrote:
> On 6/24/24 10:21 AM, ama bamo wrote:
>
> > To address these issues, I propose the introduction of a new option,
> > failfast, which would immediately terminate the pipeline if any command
> in
> > the pipeline fails. This would streamline error handling and provide more
> > predictable script execution, aligning with user expectations in many
> > common use cases.
>
> I don't see general value in killing pipeline processes (using SIGKILL,
> possibly after trying SIGTERM first), as soon as one of them fails.
>
> Chet
> --
> ``The lyf so short, the craft so long to lerne.'' - Chaucer
> ``Ars longa, vita brevis'' - Hippocrates
> Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
>
>