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