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

Hello,

9 messages 2017/10/04

[ruby-core:83451] [Ruby trunk Feature#7082][Open] Process.kill 0 in windows can return spurious success

From: usa@...
Date: 2017-10-21 12:02:31 UTC
List: ruby-core #83451
Issue #7082 has been updated by usa (Usaku NAKAMURA).

Status changed from Assigned to Open
Assignee deleted (usa (Usaku NAKAMURA))

----------------------------------------
Feature #7082: Process.kill 0 in windows can return spurious success
https://bugs.ruby-lang.org/issues/7082#change-67433

* Author: rogerdpack (Roger Pack)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: next minor
----------------------------------------
>> a = IO.popen('ls "."', 'w')
=> #<IO:fd 4>
>> a.pid
=> 2104
>> Process.kill 0, 2104
=> 1 # should raise an exception since that process is dead now, shouldn't it? [it can be checked with GetExitCodeProcess != STILL_ACTIVE) ?

Thanks!
-r



-- 
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