1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

runruby.rb: don't close other fds

* tool/runruby.rb: rubyspec now requires other FDs not to be
  closed since 7b6ce1fee.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2015-06-21 10:52:41 +00:00
parent 9767eb3001
commit e9482963fd

View file

@ -93,6 +93,7 @@ ENV.update env
cmd = [ruby] cmd = [ruby]
cmd.concat(ARGV) cmd.concat(ARGV)
cmd.unshift(*precommand) unless precommand.empty? cmd.unshift(*precommand) unless precommand.empty?
cmd.push(:close_others => false)
if show if show
require 'shellwords' require 'shellwords'