Closed Witcher01 closed 1 year ago
Piping stdout to something like head, which closes rbw's stdout before it's done writing everything, causes a panic. The panic is circumvented by using writeln! instead of println! and ignoring the error when it's of kind BrokenPipe. Closes #79
head
writeln!
println!
BrokenPipe
@doy could you take a look at this?
@doy ping
Piping stdout to something like
head
, which closes rbw's stdout before it's done writing everything, causes a panic. The panic is circumvented by usingwriteln!
instead ofprintln!
and ignoring the error when it's of kindBrokenPipe
. Closes #79