in reply to Forked pipe open...or do???
This is a confusing and unreliable way of writing the code; it handles errors incorrectly, and uses an idiom normally reserved for error handling in a surprising way. When you feel you understand it well, you might want to rewrite it in a more straightforward and robust way.
|
|---|