diff --git a/moulinette/utils/process.py b/moulinette/utils/process.py index e5f52b02..41c43633 100644 --- a/moulinette/utils/process.py +++ b/moulinette/utils/process.py @@ -108,7 +108,7 @@ class LogPipe(threading.Thread): self.log_callback = log_callback self.fdRead, self.fdWrite = os.pipe() - self.pipeReader = os.fdopen(self.fdRead) + self.pipeReader = os.fdopen(self.fdRead, "rb") self.queue = queue