Forum: Ruby trap ctrl-c and exit nicely

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Jim (Guest)
on 2005-12-17 19:06
(Received via mailing list)
Hello,

Not sure how to trap a ctrl-c, wait for a http request to finish, and
then exit nicely?
This topic is locked and can not be replied to.