[REBOL] Re: Signal handling.
From: SunandaDH:aol at: 12-Nov-2003 15:18
> Is there any way to handle signals sent to a rebol script? I have this
> script that *MUST* clean-up when receiving a SIGTERM.
Just a guess. Can you trap a SIGTERM with an event handler? This example
traps a close event. Not want you want, but maybe SIGTERMS come your way too.
view/new layout [button "click me" [print "you clicked me"]]
if event/type = 'close [
print "we are going to stop"