ruby-changes:62636
From: aycabta <ko1@a...>
Date: Tue, 18 Aug 2020 21:44:37 +0900 (JST)
Subject: [ruby-changes:62636] 6767a9ef2b (master): Lounch external process on Windows correctly
https://git.ruby-lang.org/ruby.git/commit/?id=6767a9ef2b From 6767a9ef2b0e4b19e58f7c148f6d176af73e55fc Mon Sep 17 00:00:00 2001 From: aycabta <aycabta@g...> Date: Tue, 18 Aug 2020 21:43:19 +0900 Subject: Lounch external process on Windows correctly diff --git a/test/irb/test_history.rb b/test/irb/test_history.rb index 61bd41c..430661c 100644 --- a/test/irb/test_history.rb +++ b/test/irb/test_history.rb @@ -117,10 +117,9 @@ module TestIRB https://github.com/ruby/ruby/blob/trunk/test/irb/test_history.rb#L117 with_temp_stdio do |stdin, stdout| replace_stdio(stdin.path, stdout.path) do - cmds = %W[ruby -Ilib:test -W0 -rirb -e 'IRB.start(__FILE__)'] yield(stdin, stdout) stdin.close - system(cmds.join(' ')) + system('ruby', '-Ilib', '-Itest', '-W0', '-rirb', '-e', 'IRB.start(__FILE__)') stdout.flush result = stdout.read stdout.close -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/