pub fn end_quietly()Expand description
Adds the panic hook: a print to a closed pipe ends the process with
the exit 0, and prints nothing. Call it at the start of main of a
command that ends by itself, never of a server: the hook ends the whole
process from each thread.
riff_core::pipe::end_quietly();
for n in 0..1000 {
println!("{n}"); // `| head -1` ends the process quietly here.
}