[ruby-core:118918] [Ruby master Bug#20682] Slave PTY output is lost after a child process exits in macOS