From: Tudor Lupei Date: 2010-04-01T05:13:33+09:00 Subject: Re: trap(:INT); system(); STDIN.gets(); ^C unknown wrote: > With or without line 7, here both programs behave the same (Ctrl-C + > EOF -> Bye): So you need to hit ^C^D every time? Here's the behavior I'm getting: # without system('date') $ ruby test.rb Say something: ^C Bye # with system('date') $ ruby test.rb Wed Mar 31 20:04:28 EEST 2010 Say something: ^C -- Posted via http://www.ruby-forum.com/.