Commit b7c9311d authored by simonmar's avatar simonmar
Browse files

[project @ 2005-07-06 12:15:40 by simonmar]

add System.Process test
parent 4379c805
TOP=../../../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk
test('process001', normal, compile_and_run, [''])
import System.IO
import System.Process
test = do
h <- openFile "output" WriteMode
ph <- runProcess "/bin/ls" [] Nothing Nothing Nothing (Just h) Nothing
waitForProcess ph
main = test >> test >> return ()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment