aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)