aboutsummaryrefslogtreecommitdiffstats
path: root/tool
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-05-29 06:39:42 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-05-29 06:39:42 +0000
commit603dc0dcc2db08848e479ec43df33c78fd696edc (patch)
treeeb8631e7b38daf7ce5210b7a27fc6fbb9c18e25b /tool
parentcfca9553c5b108e47a3af2b93bb6e4f3f2b852ff (diff)
downloadruby-603dc0dcc2db08848e479ec43df33c78fd696edc.tar.gz
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-xtool/runruby.rb5
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)