Permalink
Browse files

Handle IOError with the loopbreaker

  • Loading branch information...
gdb committed Jan 10, 2014
1 parent 39e53f8 commit ceab52bed15dc759c3f79eb06220cc988b0e47fb
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rubysh/subprocess/pid_aware_parallel_io.rb
@@ -43,7 +43,7 @@ def self.handle_sigchld
def self.trigger_breaker(writer)
begin
writer.write_nonblock('a') unless writer.closed?
- rescue Errno::EAGAIN, Errno::EPIPE
+ rescue Errno::EAGAIN, Errno::EPIPE, IOError
end
end

0 comments on commit ceab52b

Please sign in to comment.