General

Profile

dE (dE Techno)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 1 1 2

Activity

07/01/2025

06:57 AM Ruby Bug #21495 (Open): IO.read_nonblock does not work under a rescue IO::TimeoutError
In this particular code --
``` ruby
execArg = 'echo testwrite; sleep 5'
tofuProcess = IO.popen(execArg, 'r')
puts 'executed tofu process.'
tofuProcess.timeout=2
begin
tofuOut = tofuProcess.read
rescue IO::TimeoutError
puts 'r...
dE (dE Techno)

06/28/2025

07:40 AM Ruby Bug #21456 (Rejected): IO.close does not work in a rescue IO::TimeoutError block.
Invoking the close method on an IO object based on popen will forcefully close the process (not sure what signal it sends, it's undocumented), however when you handle a IO::TimeoutError exception (which you can get when you set .timeout)... dE (dE Techno)

Also available in: Atom