
17 Mar
2007
17 Mar
'07
9:53 p.m.
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-"