[#83107] Alias Enumerable#include? to Enumerable#includes? — Alberto Almagro <albertoalmagro@...>

Hello,

9 messages 2017/10/04

[ruby-core:83407] [Ruby trunk Feature#1482] Kernel.exec doesn't respect COMSPEC environment variable on Windows

From: mame@...
Date: 2017-10-20 01:22:47 UTC
List: ruby-core #83407
Issue #1482 has been updated by mame (Yusuke Endoh).


Nobu, are you still willing to reimprement the patch for this issue?

----------------------------------------
Feature #1482: Kernel.exec doesn't respect COMSPEC environment variable on Windows
https://bugs.ruby-lang.org/issues/1482#change-67372

* Author: dolzenko (Evgeniy Dolzhenko)
* Status: Assigned
* Priority: Normal
* Assignee: nobu (Nobuyoshi Nakada)
* Target version: 2.2.0
----------------------------------------
=begin
 Here is pretty convoluted test case:
 
 puts ENV["COMSPEC"] # => "C:\WINDOWS\system32\mycmd.exe"
 
 File.open("1.bat", "w") { |f| f.write("time") } # create test batch file with command which waits for user input
 
 Kernel.exec("1.bat") # now the process tree inspection shows that the "C:\WINDOWS\system32\cmd.exe" is still used to interpret 1.bat
=end


---Files--------------------------------
0001-win32.c-use-COMSPEC.patch (2.03 KB)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next