add waitForTermination to process package ?
simon at joyful.com
Tue Feb 9 13:52:20 EST 2010
happstack-state has this function:
which I find handy. Here's what I use it for:
tid <- forkIO $ server opts args l
putStrLn "starting web browser"
putStrLn "shutting down web server..."
putStrLn "shutdown complete"
I'd like to not depend on happstack just for this. Could it be added to System.Process ?
Best - Simon
More information about the Libraries