I am trying to capture the stdin and stdout from runProcess into a string for analysis.
However, setting up the handles seems to be rather difficult. I wandered into GHC.IO.Handle, and that seems to be the logical destination, but it seems that this should be very simple.