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 | 603dc0dcc2db08848e479ec43df33c78fd696edc (patch) | |
tree | eb8631e7b38daf7ce5210b7a27fc6fbb9c18e25b /tool | |
parent | cfca9553c5b108e47a3af2b93bb6e4f3f2b852ff (diff) | |
download | ruby-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-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) |