From: James Coglan Date: 2009-01-09T19:28:09+09:00 Subject: Detect when a Ruby program exits ------=_Part_153908_26008892.1231496910130 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi all, Is there a way to have your code notified when a Ruby process is terminated? I'm looking for a way to serialize a bunch of in-memory data to disk automatically when a Rails app is shut down. I might be better off storing it in SQLite but would like to know if the in-memory option is possible first. Thanks, James http://github.com/jcoglan ------=_Part_153908_26008892.1231496910130--