pub fn write_stdout(text: &str) -> Result<(), Error>
Write text to stdout, treating BrokenPipe as a normal shell outcome.
BrokenPipe