You had the solution in the topic of your post!
Look at System.Cmd
Or maybe you prefer to use System.Process
The GHC documentation includes extensive docs about libraries:
http://www.haskell.org/ghc/docs/latest/html/libraries/index.html
Cheers
Pepe
On 7/4/06, J. E. Palomar <[EMAIL PROTECTED]> wrote:
Hi,
I am newbie in Haskell programing and need to launch
a shell command through a Haskell code.
In other programing languages like C or Java I know how
carry out this task; for instance the code
system("ls -l ")
in C or
exec("ls -l")
in Java work fine and lists the working directory.
I know that in interactive mode the Haskell command
:! ls -l
is similar, but ¿It is possible something like in Haskell
non-interactive mode?
Thaks in advance.
Helptex23
_______________________________________________
Haskell mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell
_______________________________________________
Haskell mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell