Hello.
I'm trying to install a handler for the TERM signal:
import System.Posix.Signals
import System.Posix.Unistd
import Monad
main =
do installHandler sigTERM handler Nothing
sequence (repeat (putStrLn bla sleep 5))
return ()
handler = Catch (putStrLn caught SIGTERM)
--
Bugs item #1177838, was opened at 2005-04-06 17:18
Message generated for change (Comment added) made by spanne
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=108032aid=1177838group_id=8032
Category: libraries (other)
Group: None
Status: Closed
Resolution: Fixed
On 4/17/05, Volker Wysk [EMAIL PROTECTED] wrote:
Hello.
I'm trying to install a handler for the TERM signal:
import System.Posix.Signals
import System.Posix.Unistd
import Monad
main =
do installHandler sigTERM handler Nothing
sequence (repeat (putStrLn bla sleep 5))