[#9722] Kernel#system broken inside Dir.chdir(&block) if system command doesn't have shell characters — <noreply@...>

Bugs item #7278, was opened at 2006-12-14 13:59

8 messages 2006/12/14

[#9749] System V IPC in standard library? — Steven Jenkins <steven.jenkins@...>

Back in August, I needed a semaphore to serialize access to an external

14 messages 2006/12/19

[#9753] CVS freeze — SASADA Koichi <ko1@...>

Hi,

20 messages 2006/12/20
[#9755] Re: [ruby-dev:30039] CVS freeze — SASADA Koichi <ko1@...> 2006/12/20

Hi,

[#9757] Re: [ruby-dev:30040] Re: CVS freeze — SASADA Koichi <ko1@...> 2006/12/20

Hi,

[ ruby-Bugs-7150 ] Exceptions raised during 'at_exit' hooks produce inaccurate messages

From: <noreply@...>
Date: 2006-12-07 16:42:53 UTC
List: ruby-core #9675
Bugs item #7150, was opened at 2006-12-07 11:42
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=7150&group_id=426

Category: Core
Group: 1.8.5
Status: Open
Resolution: None
Priority: 3
Submitted By: Wilson Bilkovich (wilson)
Assigned to: Nobody (None)
Summary: Exceptions raised during 'at_exit' hooks produce inaccurate messages

Initial Comment:
lustre:~/work wilson$ ruby exit_test.rb 
exit_test.rb:2: Something Bad! (RuntimeError)
        from exit_test.rb:4
exit_test.rb:2: Something Bad! (RuntimeError)
        from exit_test.rb:4

#### code ####
at_exit do 
  raise "Something Bad!"
end
raise "Something Else"

The code in the at_exit block appears to step on the error raised earlier.

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=7150&group_id=426

In This Thread

Prev Next