[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: Ruby and capturing ^C

Logan Capaldo

4/5/2007 5:47:00 AM

On 4/5/07, Phy Prabab <phyprabab@yahoo.com> wrote:
> Hello!
>
> Is there any way to capture or "trap" ^C within Ruby? Something similar to shell "trapping" is what I am after so that I can do clean up in the event ^C is pressed.
>
> TIA!
> Phy
>
It's one thing when you don't know what to search for, but did you even try?
http://www.google.com/search?hl=en&q=ruby+trap&btnG=Goo...
>
>
>
>
> ____________________________________________________________________________________
> The fish are biting.
> Get more visitors on your site using Yahoo! Search Marketing.
> http://searchmarketing.yahoo.com/arp/sponsoredsea...