From: Robert Gustavsson <0317025435@...> Date: 2001-01-07T00:34:09+09:00 Subject: [ruby-talk:8738] SystemExit exception in RubyWin Hi! I use "ruby 1.6.1 (2000-10-05) [i386-cygwin]" The code: ------------------------- begin # should raise a SystemExit exception exit rescue Exception print $!.type, " ", $@, "\n" else print "No error raised.\n" end ------------------------- The command line Ruby interpreter produces: SystemExit rubytest.rb:87:in `exit'rubytest.rb:87 But RubyWin produces: RubyWinDummyError E:\RUBY\BIN\rw3241.TMP:87:in `exit'E:\RUBY\BIN\rw3241.TMP:87E:\RUBY\BIN\rw3241.TMP:0 Why is this so? Is it because in RubyWin the interpreter is never really exited? Best regards Rob