From 5689f7c7e4ce0ee21e439ccd3ac15f0af0920c35 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 29 May 2017 06:39:42 +0000 Subject: tool/runruby.rb: exec ruby-runner git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- tool/runruby.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tool/runruby.rb') 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) -- cgit v1.2.3