SubProcess.lhs

Sebastien Carlier sebc@wise-language.org
Wed, 22 May 2002 10:15:19 +0200


Hi, Jens,

> I think it would be useful to have this included in the
> Haskell libraries.  I'd be happy to fold it into POpen too,
> though I rather like the name SubProcess.

Sure, please do.  I'm not overly fond of the name I gave it,
popen is definitely better.

Maybe it would be a good thing to add a remark to the
documentation of runProcess, to mention popen.
Also, I think runProcess can be made to work with pipes,
but it requires some cheating with unsafePerformIO to
force the child to close the file descriptors...
Fork is the tool of the demon !

--
S=E9bastien