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

ruby-changes:46836

From: nobu <ko1@a...>
Date: Mon, 29 May 2017 15:39:46 +0900 (JST)
Subject: [ruby-changes:46836] nobu:r58951 (trunk): tool/runruby.rb: exec ruby-runner

nobu	2017-05-29 15:39:42 +0900 (Mon, 29 May 2017)

  New Revision: 58951

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

  Log:
    tool/runruby.rb: exec ruby-runner

  Modified files:
    trunk/tool/runruby.rb
Index: tool/runruby.rb
===================================================================
--- tool/runruby.rb	(revision 58950)
+++ tool/runruby.rb	(revision 58951)
@@ -97,10 +97,9 @@ end https://github.com/ruby/ruby/blob/trunk/tool/runruby.rb#L97
 
 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 https://github.com/ruby/ruby/blob/trunk/tool/runruby.rb#L107
   puts Shellwords.join(cmd)
 end
 
-exec(*cmd)
+exec(*cmd, close_others: false)

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

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