[MacRuby-devel] [MacRuby] #590: Process.spawn causes abort trap
MacRuby
ruby-noreply at macosforge.org
Mon Feb 1 14:35:52 PST 2010
#590: Process.spawn causes abort trap
---------------------------------+------------------------------------------
Reporter: honglilai@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords:
---------------------------------+------------------------------------------
Test case:
{{{
a, b = IO.pipe
pid = Process.spawn("echo hello world", STDOUT => b)
Process.wait(pid)
b.close
puts a.read
}}}
Expecting a.read to return "hello world\n", but somewhere it causes an
abort trap.
--
Ticket URL: <http://www.macruby.org/trac/ticket/590>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list