keter/test/process.hs
Michael Snoyman 379359c779 Keter.Process
2012-05-06 13:29:18 +03:00

14 lines
334 B
Haskell

import Keter.Process
import Control.Concurrent
main = do
p <- run "runghc" "." ["test/process-torun.hs"] []
threadDelay $ 2 * 1000 * 1000
putStrLn "Done with part 1"
terminate p
p <- run "runghc" "." ["test/process-torun2.hs"] []
threadDelay $ 5 * 1000 * 1000
terminate p
putStrLn "Done with part 2"