Close reader pipes
This commit is contained in:
parent
820c541671
commit
a51364f54b
@ -69,6 +69,7 @@ module Prism
|
||||
|
||||
writer.close
|
||||
result = reader.gets.chomp
|
||||
reader.close
|
||||
|
||||
Process.wait(pid)
|
||||
result
|
||||
|
Loading…
x
Reference in New Issue
Block a user