python-configshell/0001-Ensure-that-all-output-reaches-the-client-when-daemo.patch
liubo 9f6d680920 Ensure that all output reaches the client when daemonized
Signed-off-by: liubo <liubo1@xfusion.com>
2023-10-13 16:08:51 +08:00

26 lines
733 B
Diff

From 949c674b807ddfb312cbac234b1b995066c77dad Mon Sep 17 00:00:00 2001
From: Matt Coleman <matt@datto.com>
Date: Thu, 7 Nov 2019 19:43:57 -0500
Subject: [PATCH] Ensure that all output reaches the client when daemonized
---
configshell/console.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configshell/console.py b/configshell/console.py
index 8ed6b50..003a855 100644
--- a/configshell/console.py
+++ b/configshell/console.py
@@ -191,7 +191,7 @@ class Console(object):
break
else:
clean_text = text
- self.raw_write(clean_text)
+ self.raw_write(clean_text, output=self._stdout)
def indent(self, text, margin=2):
'''
--
2.42.0.windows.2