diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-05-29 06:39:42 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-05-29 06:39:42 +0000 |
commit | 5689f7c7e4ce0ee21e439ccd3ac15f0af0920c35 (patch) | |
tree | eb8631e7b38daf7ce5210b7a27fc6fbb9c18e25b /tool | |
parent | d4408a3d8b6317acad39ad3d34259789bb4d00df (diff) |
tool/runruby.rb: exec ruby-runner
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rwxr-xr-x | tool/runruby.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tool/runruby.rb b/tool/runruby.rb index 74362338cc..cade314748 100755 --- a/tool/runruby.rb +++ b/tool/runruby.rb @@ -97,10 +97,9 @@ end ENV.update env -cmd = [ruby] +cmd = [runner || ruby] cmd.concat(ARGV) cmd.unshift(*precommand) unless precommand.empty? -cmd.push(:close_others => false) if show require 'shellwords' @@ -108,4 +107,4 @@ if show puts Shellwords.join(cmd) end -exec(*cmd) +exec(*cmd, close_others: false) |