29 Apr
2008
29 Apr
'08
6:46 p.m.
Brian Brunswick wrote:
On Tue, Apr 29, 2008 at 6:14 PM, Simon Marlow
wrote: readProcessWithExitCode :: FilePath -- ^ command to run -> [String] -- ^ any arguments -> String -- ^ standard input -> IO (ExitCode,String) -- ^ exitcode, and stdout + stderr
Surely in this case one wants stdout in a separate String to stderr?
If something fails in the middle of a long operation, I want just the error, doc!
Well yes, but maybe you also want to tally the stderr with the stdout, to see what was going on at the time the errors were generated (modulo buffering, of course). How about two separate versions? In which case, what should they be called? Cheers, Simon