Commit d57bb1a9 authored by simonmar's avatar simonmar
Browse files

[project @ 2005-07-06 12:26:59 by simonmar]

add test for passing duplicate Handles to runProcess
parent b7c9311d
test('process001', normal, compile_and_run, [''])
test('process002', normal, compile_and_run, [''])
import System.Process
import System.IO
main = do
h <- openFile "output" WriteMode
ph <- runProcess "/bin/ls" [] Nothing Nothing Nothing (Just h) (Just h)
waitForProcess ph
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