From: "mame (Yusuke Endoh)" Date: 2012-11-24T08:38:01+09:00 Subject: [ruby-core:49913] [ruby-trunk - Feature #7082][Assigned] Process.kill 0 in windows can return spurious success Issue #7082 has been updated by mame (Yusuke Endoh). Status changed from Open to Assigned Assignee set to usa (Usaku NAKAMURA) Target version set to next minor ---------------------------------------- Feature #7082: Process.kill 0 in windows can return spurious success https://bugs.ruby-lang.org/issues/7082#change-33672 Author: rogerdpack (Roger Pack) Status: Assigned Priority: Normal Assignee: usa (Usaku NAKAMURA) Category: Target version: next minor >> 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/