pub fn emit_text(msg: &str)
Writes msg followed by a newline to stdout and flushes.
msg
A BrokenPipe error is silenced gracefully.
BrokenPipe