failing Kernel#exec - behavior different than mri #1555

Closed
cldwalker opened this Issue Feb 12, 2012 · 0 comments

Comments

Projects
None yet
2 participants
Contributor

cldwalker commented Feb 12, 2012

I'm seeing rbx handle exec failure differently than other rubies:

begin
  exec 'ripl-zzz'
rescue Exception
  p $!
end 

__END__

In rubinius 2.0.0dev for 1.8.7:
=> sh: ripl-zzz: command not found

In mri + jruby:
=> #<Errno::ENOENT: No such file or directory - ripl-zzz>

@evanphx evanphx closed this in 2186040 Mar 9, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment