Interesting; I assumed the write to stdout would just hang for the writing program.