zsh-workers
 help / color / mirror / code / Atom feed
* Disowned command killed when piping NUL character
@ 2023-07-19 22:25 Johan Grande
  2023-07-19 23:27 ` Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: Johan Grande @ 2023-07-19 22:25 UTC (permalink / raw)
  To: zsh-workers

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-07-19 23:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-19 22:25 Disowned command killed when piping NUL character Johan Grande
2023-07-19 23:27 ` Bart Schaefer

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).