in reply to open pipe for input and die

Other approaches that might be useful in situations like this are: