[Haskell] system command

J. E. Palomar jepalomar23 at ono.com
Tue Jul 4 05:22:42 EDT 2006


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 







More information about the Haskell mailing list