Trap ctrl-c and exit nicely


Not sure how to trap a ctrl-c, wait for a http request to finish, and
then exit nicely?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs