From: Jean-Hugues ROBERT Date: 2002-06-13T19:25:57+09:00 Subject: Re: irb, how to exit() ? hello, At 15:42 13/06/2002 +0900, keiju wrote: >In [ruby-talk:42318] the message: "irb, how to exit() ?", on Jun/12 >23:58(JST) >Jean-Hugues ROBERT writes: > >irb redefines exit() and exit!() so that they raise an exception > >instead of exiting. This is sensible. > >irb don't redefine exit! True ! I must have done something wrong when I tried it. > >... well... I am experiencing a case where I need to exit. How > >can I ? (btw: it is some background thread that will ask to exit) > >You can use exit!() or irb_exit_org() which is an alias of original exit(). > >-- keiju Thanks a lot. Yours, Jean-Hugues ------------------------------------------------------------------------- Web: http://hdl.handle.net/1030.37/1.1 Phone: +33 (0) 4 92 27 74 17