ruby-changes:27771
From: usa <ko1@a...>
Date: Tue, 19 Mar 2013 17:40:48 +0900 (JST)
Subject: [ruby-changes:27771] usa:r39823 (trunk): * test/win32ole/test_err_in_callback.rb: debug print. I'll remove this later.
usa 2013-03-19 17:40:39 +0900 (Tue, 19 Mar 2013) New Revision: 39823 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=39823 Log: * test/win32ole/test_err_in_callback.rb: debug print. I'll remove this later. Modified files: trunk/test/win32ole/test_err_in_callback.rb Index: test/win32ole/test_err_in_callback.rb =================================================================== --- test/win32ole/test_err_in_callback.rb (revision 39822) +++ test/win32ole/test_err_in_callback.rb (revision 39823) @@ -39,7 +39,8 @@ if defined?(WIN32OLE) https://github.com/ruby/ruby/blob/trunk/test/win32ole/test_err_in_callback.rb#L39 Dir.mktmpdir do |tmpdir| logfile = File.join(tmpdir, "test_err_in_callback.log") cmd = "#{@ruby} -v #{@iopt} #{@script} > #{logfile.gsub(%r(/), '\\')} 2>&1" - system(cmd) + result = system(cmd) + p [result, cmd] str = "" open(logfile) {|ifs| str = ifs.read -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/