trap.Signal('SIGNIT') { proc to handle signal }
#####################
If i will do (Ctrl + c), it should go to proc . But its not working.
Does anybody have working example? Thanks in advance.
--
Posted via http://www.ruby-forum.com/.
If i will do (Ctrl + c), it should go to proc . But its not working.
Does anybody have working example? Thanks in advance.
--
Posted via http://www.ruby-forum.com/\.