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