add waitForTermination to process package ?
10 Feb
2010
10 Feb
'10
2:52 a.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
5759
Age (days ago)
5759
Last active (days ago)
0 comments
1 participants
participants (1)
-
Simon Michael