[前][次][番号順一覧][スレッド一覧]

ruby-changes:38904

From: nobu <ko1@a...>
Date: Sun, 21 Jun 2015 19:53:03 +0900 (JST)
Subject: [ruby-changes:38904] nobu:r50985 (trunk): runruby.rb: don't close other fds

nobu	2015-06-21 19:52:41 +0900 (Sun, 21 Jun 2015)

  New Revision: 50985

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50985

  Log:
    runruby.rb: don't close other fds
    
    * tool/runruby.rb: rubyspec now requires other FDs not to be
      closed since 7b6ce1fee.

  Modified files:
    trunk/tool/runruby.rb
Index: tool/runruby.rb
===================================================================
--- tool/runruby.rb	(revision 50984)
+++ tool/runruby.rb	(revision 50985)
@@ -93,6 +93,7 @@ ENV.update env https://github.com/ruby/ruby/blob/trunk/tool/runruby.rb#L93
 cmd = [ruby]
 cmd.concat(ARGV)
 cmd.unshift(*precommand) unless precommand.empty?
+cmd.push(:close_others => false)
 
 if show
   require 'shellwords'

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]