[Haskell-cafe] Using external programs with Haskell in windows.

Christian Lean christian.lean2 at bigpond.com
Sat Mar 17 21:53:30 EDT 2007


I'm looking for a way to run an external program and get the results in 
haskell. Something similar to HSH but that will work in windows. I don't 
need anything too complex, just to provide the command to be run as a 
string and get the result as a string. Is this possible?
One of the HSH examples is all I need:

runS $ "echo /etc/pass*"
 -> "/etc/passwd /etc/passwd-"




More information about the Haskell-Cafe mailing list