RosettaCodeData/Task/Execute-a-system-command/Haskell/execute-a-system-command.hs

4 lines
38 B
Haskell

import System.Cmd
main = system "ls"