[Haskell] Capturing output from System.system

Mads Lindstrøm mads_lindstroem at yahoo.dk
Tue Jan 16 17:07:44 EST 2007

Hi All Haskeleers

The function System.system (:: String -> IO ExitCode) makes the OS
execute it first parameter as a command. It prints its output to
standard output and standard error.

How do I easily capture this output?

/Mads Lindstrøm

More information about the Haskell mailing list