Subprocesses

Peter Simons simons@cryp.to
09 May 2003 12:30:13 +0200


Simon Marlow writes:

 > What do people think?

I think it is a good idea to provide the POSIX functions 'popen' and
'system', simply because people _know_ them. When I tried to figure
out how to start sub-processes in Haskell, I looked for these
functions first of all, too.

So far, 'launch' seems to be the most useful one, though, so I'd
definitely like to see it (or something similar) in GHC's standard
library. Plus: One could easily implement 'popen' and 'system' on top
of it.

Peter