add waitForTermination to process package ?

9 Feb
2010
9 Feb
'10
6:52 p.m.
happstack-state has this function: http://hackage.haskell.org/packages/archive/happstack-state/0.4.1/doc/html/s... which I find handy. Here's what I use it for: tid <- forkIO $ server opts args l putStrLn "starting web browser" openBrowserOn homeurl waitForTermination putStrLn "shutting down web server..." killThread tid putStrLn "shutdown complete" I'd like to not depend on happstack just for this. Could it be added to System.Process ? Best - Simon
5627
Age (days ago)
5627
Last active (days ago)
0 comments
1 participants
participants (1)
-
Simon Michael