Execute a system command: Difference between revisions

No edit summary
Line 143:
<lang haskell>import System.Cmd
 
main = system "ls" <!-- Wouldn't main = System.Cmd.system "ls" be even better? --></lang>
</lang>
 
See also: the [http://www.haskell.org/ghc/docs/latest/html/libraries/process/System-Process.html System.Process] module
Anonymous user