Mads Lindstrøm wrote:

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?

There's Jens-U Petersen's rather old popenhs module, which you could dust off and use: http://www.haskell.org/~petersen/haskell/popenhs/

        <b

_______________________________________________
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to