"mperham (Mike Perham)" <mperham / gmail.com> wrote:
> trap 'INT' do
>   LOG.info "Hello"
> end

An ugly workaround I use is to spawn a thread inside trap:

trap 'INT' do
  Thread.new do
    LOG.info "Hello"
  end
end