add Errno::EIO to list of rescued exceptions as underlying pts can close before shutdown is complete

Possibly relates to GitHub Issue #40.
This commit is contained in:
Mike Javorski
2011-08-11 11:59:51 -07:00
parent a2ba079665
commit 4e015b7436

View File

@@ -119,7 +119,7 @@ private ######################################################################
end
end
end
rescue PTY::ChildExited, Interrupt
rescue PTY::ChildExited, Interrupt, Errno::EIO
begin
info "process exiting", process
rescue Interrupt