I did look at open2. As with open from pipe, there is more than one way to do what I already have. I thought that the extra file handles from pipe/fork would allow for shell redirection tricks. But, alas, it has not helped much. :-(
Any other ideas for taking the next step?
Comment on Re: Send data to STDIN of a exec'ed program