# File src/ruby_supportlib/phusion_passenger/utils.rb, line 109
    def create_thread_and_abort_on_exception(*args)
      Thread.new do
        Thread.current.abort_on_exception = true
        begin
          yield(*args)
        rescue SystemExit
          raise
        rescue Exception => e
          print_exception(nil, e)
          exit(1)
        end
      end
    end