From 9b8c68220191c88e2289c51e174f1db6524998d1 Mon Sep 17 00:00:00 2001 From: Oleksii Shevchuk Date: Thu, 5 Jan 2017 23:27:15 +0200 Subject: [PATCH] Use raw write to log to omit newlines per page output --- pupy/modules/pexec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pupy/modules/pexec.py b/pupy/modules/pexec.py index ab9b055e..12a7a5bf 100644 --- a/pupy/modules/pexec.py +++ b/pupy/modules/pexec.py @@ -207,7 +207,7 @@ class PExec(PupyModule): close_event = threading.Event() def on_read(data): - self.log(data) + self.stdout.write(data) if not self.terminate.is_set(): log.write(data)