Close reader pipes

This commit is contained in:
Nobuyoshi Nakada 2025-03-20 20:59:42 +09:00
parent 820c541671
commit a51364f54b
No known key found for this signature in database
GPG Key ID: 3582D74E1FEE4465

View File

@ -69,6 +69,7 @@ module Prism
writer.close
result = reader.gets.chomp
reader.close
Process.wait(pid)
result