#590: Process.spawn causes abort trap
---------------------------------+------------------------------------------
Reporter: hongli...@… | Owner: lsansone...@…
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/>
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel