[Haskell-cafe] Call external program and get stdout

Jules Bean jules at jellybean.co.uk
Thu Nov 22 11:56:59 EST 2007


Maurí­cio wrote:
> Hi,
> 
> How can I call a program (like, for instance,
> 'grep text *') and get the standard output?
> All actions I found (executeFile, system) do
> not give me the output of the program.

http://haskell.org/ghc/docs/latest/html/libraries/process-1.0.0.0/System-Process.html


More information about the Haskell-Cafe mailing list