From: Mikael Magnusson <mikachu@gmail.com>
To: Roman Perepelitsa <roman.perepelitsa@gmail.com>
Cc: Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: Exit code 130 kills pipeline
Date: Wed, 17 Jun 2020 22:34:15 +0200 [thread overview]
Message-ID: <CAHYJk3So2+ssXusbrSrL0t55SXPVbf_qNxiqpJAJxLZ1GfYVGA@mail.gmail.com> (raw)
In-Reply-To: <CAN=4vMo_KK4ynuDMQdqH5JYbPpHucwWJs=Vx-rRLfVeN-R=OZw@mail.gmail.com>
On 6/17/20, Roman Perepelitsa <roman.perepelitsa@gmail.com> wrote:
> On Wed, Jun 17, 2020 at 7:42 PM Mikael Magnusson <mikachu@gmail.com> wrote:
>>
>> On 6/17/20, Roman Perepelitsa <roman.perepelitsa@gmail.com> wrote:
>> > Is it expected that the following command produces no output?
>> >
>> > ( exit 130 ) | { sleep 1; echo hello }
>>
>> No?
>
> Good point. I should've specified the environment.
>
> % docker run -it --rm zshusers/zsh:5.8 \
> zsh -c '( exit 130 ) | { sleep 1; echo hello }'
>
> (no output)
>
> Roman.
I get no output from
zsh -c '( exit 130 ) | { sleep 1; echo hello }'
but i do get output from
zsh -ic '( exit 130 ) | { sleep 1; echo hello }'
and again no output from
zsh -fic '( exit 130 ) | { sleep 1; echo hello }'
so it's probably something weird :).
--
Mikael Magnusson
prev parent reply other threads:[~2020-06-17 20:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-17 15:45 Roman Perepelitsa
2020-06-17 16:58 ` Peter Stephenson
2020-06-18 5:49 ` Roman Perepelitsa
2020-06-18 10:49 ` Peter Stephenson
2020-06-17 17:42 ` Mikael Magnusson
2020-06-17 17:46 ` Roman Perepelitsa
2020-06-17 20:34 ` Mikael Magnusson [this message]
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=CAHYJk3So2+ssXusbrSrL0t55SXPVbf_qNxiqpJAJxLZ1GfYVGA@mail.gmail.com \
--to=mikachu@gmail.com \
--cc=roman.perepelitsa@gmail.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).