From: Bart Schaefer <schaefer@brasslantern.com>
To: Peter Stephenson <p.w.stephenson@ntlworld.com>
Cc: Johan Grande <nahoj@crans.org>, zsh-workers@zsh.org
Subject: Re: Failed pipeline doesn't err_exit/return if complex command last
Date: Fri, 7 Jul 2023 21:31:30 -0700 [thread overview]
Message-ID: <CAH+w=7bS8X8D6dbO=VqKX+QfyoAuzOGqH66ZQ+DBvn8T457-9w@mail.gmail.com> (raw)
In-Reply-To: <1263859119.226140.1688636640060@mail.virginmedia.com>
On Thu, Jul 6, 2023 at 2:44 AM Peter Stephenson
<p.w.stephenson@ntlworld.com> wrote:
>
> The final part of the pipeline is run in the current shell, so the
> job control is a bit fiddly. It looks like the relevant code,
> including the function storepipestats(), is run too late in this
> case.
Possibly relevant, I'm getting random failures of the expected output
status for E01 "Was testing: PIPE_FAIL option" on MacOS Catalina. The
test line
true | false | true
sometimes returns 147 instead of 1.
next prev parent reply other threads:[~2023-07-08 4:32 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-05 23:18 Johan Grande
2023-07-05 23:45 ` Johan Grande
2023-07-06 9:44 ` Peter Stephenson
2023-07-08 4:31 ` Bart Schaefer [this message]
[not found] ` <cf275400-d63a-d991-3aa5-1543d20a2f42@crans.org>
2023-07-16 14:36 ` Peter Stephenson
2023-07-17 19:25 ` Johan Grande
2023-07-17 23:34 ` Bart Schaefer
2023-07-18 1:51 ` Bart Schaefer
2023-07-18 13:57 ` Peter Stephenson
2023-07-20 8:47 ` Peter Stephenson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAH+w=7bS8X8D6dbO=VqKX+QfyoAuzOGqH66ZQ+DBvn8T457-9w@mail.gmail.com' \
--to=schaefer@brasslantern.com \
--cc=nahoj@crans.org \
--cc=p.w.stephenson@ntlworld.com \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).