Issue #5433 has been updated by Shyouhei Urabe.


Motohiro KOSAKI wrote:
> > Obviously, kernel bug.
> 
> Even if so, we need workaround. isn't it?

It is an Apple's fault.
The first thing to be done is to blame Apple, not to report here.
You are a customer of Apple, not us.

However if you are not a customer but an employee of Apple, and you insist us to give a workaround, we can.  If it is the case please give us a more detailed background of how to achieve it.
----------------------------------------
Bug #5433: PTY.spawn Kernel panic on macos lion
http://redmine.ruby-lang.org/issues/5433

Author: Gamaliel Toro
Status: Third Party's Issue
Priority: Normal
Assignee: Kenta Murata
Category: 
Target version: 
ruby -v: ruby-1.9.2


If you execute a PTY.spawn with a non existing command give a kernel panic.

Example

require 'pty'
PTY.spawn('nonexistent-command')






-- 
http://redmine.ruby-lang.org