From: "rogerdpack (Roger Pack)" Date: 2012-09-28T16:29:15+09:00 Subject: [ruby-core:47719] [ruby-trunk - Bug #7082][Open] Process.kill 0 in windows can return spurious success Issue #7082 has been reported by rogerdpack (Roger Pack). ---------------------------------------- Bug #7082: Process.kill 0 in windows can return spurious success https://bugs.ruby-lang.org/issues/7082 Author: rogerdpack (Roger Pack) Status: Open Priority: Normal Assignee: Category: Target version: ruby -v: ruby 1.9.3p194 (2012-04-20) [i386-mingw32] >> a = IO.popen('ls "."', 'w') => # >> 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 -- http://bugs.ruby-lang.org/