summaryrefslogtreecommitdiff
path: root/host/proto/popen_io.py
diff options
context:
space:
mode:
Diffstat (limited to 'host/proto/popen_io.py')
-rw-r--r--host/proto/popen_io.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/host/proto/popen_io.py b/host/proto/popen_io.py
index 0f582802..a9051cc7 100644
--- a/host/proto/popen_io.py
+++ b/host/proto/popen_io.py
@@ -37,6 +37,8 @@ class PopenIO:
def read (self, *args):
buf = self.fin.read (*args).replace ('\n', '\r')
+ if not buf:
+ raise EOFError
return buf
def write (self, *args):