Proposal: overhaul System.Process

Bryan O'Sullivan bos at serpentine.com
Tue Apr 22 18:35:42 EDT 2008


Neil Mitchell wrote:

> I would have thought (ExitCode,String) was more appropriate.

Yes, definitely.  What happens to stderr with this function, by the way?
 Is it tied to stdout (probably the right thing to do), or to /dev/null,
or is it closed (eek!)?  The haddock should make that clear.

It would be useful if there was a readProcess variant that gave back a
String each for stdout and stderr.

	<b


More information about the Libraries mailing list