From: Laurent Julliard Date: 2002-08-10T01:21:40+09:00 Subject: Catching script end? All, Are you aware of anyway to catch the end of a Ruby script execution when there is no explicit exit instruction? a) SystemExit seems to be raised only when 'exit' is used explicitely. b) I have found a workaround to catch exit! as well by redefining But what to do when there is no exit at all ? Thanks for your help Laurent