revert readall change since it didn't work

This commit is contained in:
computergeek125 2021-11-19 19:06:35 -06:00
parent 5230a7ddc3
commit 62cac66e8e

View File

@ -71,7 +71,7 @@ class ServerOutBuf:
# TODO: we may want to benchmark reading in blocks and userspace processing it later, reads are kind of expensive as a syscall
self.process_byte(char)
else:
flush = self.proc.stdout.readall().decode('utf-8')
flush = self.proc.stdout.read().decode('utf-8')
for char in flush:
self.process_byte(char)
break