16 Jan
2007
16 Jan
'07
10:29 p.m.
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