Calling an external command from a Haskell program

Alastair Reid alastair at reid-consulting-uk.ltd.uk
Wed Oct 15 10:12:59 EDT 2003


> I think this question is not new, but I am not able to
> find the answer. How to proceed to execute an external
> Linux command (e.g., 'ls') from a Haskell program?

system("ls")

system :: String -> IO ExitCode

--
Alastair Reid      www.haskell-consulting.com



More information about the Haskell mailing list