[Haskell-cafe] Call external program and get stdout
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>:
> 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.
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
More information about the Haskell-Cafe