[Haskell-cafe] Call external program and get stdout

Thomas Hartman tphyahoo at gmail.com
Sat Nov 24 10:55:10 EST 2007

dons did a blog post about a "shell monad" which I think does what you ask.


very nice, I use it myself.


2007/11/22, Maurí­cio <briqueabraque at yahoo.com>:
> 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.
> Thanks,
> Maurício
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe

More information about the Haskell-Cafe mailing list