Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Disowned command killed when piping NUL character
- X-seq: zsh-workers 51967
- From: Johan Grande <nahoj@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Disowned command killed when piping NUL character
- Date: Thu, 20 Jul 2023 00:25:18 +0200
- Archived-at: <https://zsh.org/workers/51967>
- List-id: <zsh-workers.zsh.org>
I notice the following inconsistency in behavior. Is it indeed a bug?
The async job with the \0 doesn't print "hello" while the other two
commands do.
% { print |read line; echo hello } &!
% hello
% { print '\0'|read -d $'\0' line; echo hello } &!
% print '\0'|read -d $'\0' line; echo hello
hello
With zsh 5.8.1 (x86_64-ubuntu-linux-gnu) and an empty ~/.zshrc.
--
Johan
Messages sorted by:
Reverse Date,
Date,
Thread,
Author