pete / live-console

LiveConsole, a Ruby gem for providing IRB over things other than stdio.
http://debu.gs/live-console
29 stars 4 forks source link

typing in exit doesn't close the socket #1

Open rdp opened 15 years ago

rdp commented 15 years ago

using this as a main loop seemed to help

                                    begin
                                            IRB.start_with_io(irb_io, bind)
                                    rescue Errno::EPIPE => e
-                                               io.stop
                                    end
+                                       io.stop

Cheers! =r