Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: JRuby 1.4
-
Fix Version/s: None
-
Component/s: Windows
-
Labels:None
-
Number of attachments :
Description
This code fails in jruby on doze
require 'timeout'
out = nil
begin
Timeout::timeout(ARGV[1].to_i)
rescue Timeout::Error
puts 'timed out'
Process.kill "KILL", out.pid
end
jruby: C:/dev/ruby/ruby-benchmark-suite/utils/timeout2.rb:16: waitpid unsupported on this platform (NotImplementedError)
ruby MRI works.
Thanks.
-r
Activity
Vladimir Sizikov
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Component/s | Windows [ 13600 ] |
Vladimir Sizikov
made changes -
| Summary | waitpid should be supported on doze | [windows] Process.waitpid() is not supported |
Thomas E Enebo
made changes -
| Assignee | Thomas E Enebo [ enebo ] |
Vladimir Sizikov
made changes -
| Summary | [windows] Process.waitpid() is not supported | [windows] Process' wait, wait2, waitpid are not supported |