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