From: Joey Date: 2006-07-12T04:19:30+09:00 Subject: Re: Ctrl + C - Running in background ------=_Part_13009_21924269.1152645568048 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline I believe Ctrl + C is trap("INT"){ exit } To run another program in the background, umm something to do with `bg` and Ctrl + Z, I'm not sure about that. j`ey http://www.eachmapinject.com On 7/11/06, Magnus Holm wrote: > > Hi, i got two questions: > > 1: I want my program to exit when I press ctrl + c. How can I do this? > > 2: I want another program to run in the background. Possible? > > Thank you!! > > -- > Posted via http://www.ruby-forum.com/. > > ------=_Part_13009_21924269.1152645568048--