[macruby-changes] [MacRuby/MacRuby] a10c49: IO.popen will accept array of execution path with...

noreply at github.com noreply at github.com
Tue May 17 01:06:07 PDT 2011


Branch: refs/heads/master
Home:   https://github.com/MacRuby/MacRuby

Commit: a10c49a0522bb622a0e87d3771fdc6d590c5e6e5
    https://github.com/MacRuby/MacRuby/commit/a10c49a0522bb622a0e87d3771fdc6d590c5e6e5
Author: Watson <watson1978 at gmail.com>
Date:   2011-05-17 (Tue, 17 May 2011)

Changed paths:
  M io.c

Log Message:
-----------
IO.popen will accept array of execution path  with array of command.

Test Script:
{{{
require 'test/unit/assertions.rb'
include Test::Unit::Assertions

ret = IO.popen([["ruby", ""], "-e", "print 1"]).read
assert_equal("1", ret)

puts :ok
}}}




More information about the macruby-changes mailing list