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