From f55a65c304c245d88969aebc63355c2b4930c867 Mon Sep 17 00:00:00 2001 From: Colombo Date: Sat, 29 Feb 2020 15:34:27 +0400 Subject: [PATCH] _ --- core/interact/interact.py | 1 + 1 file changed, 1 insertion(+) diff --git a/core/interact/interact.py b/core/interact/interact.py index 6bfca22..e9d5c3a 100644 --- a/core/interact/interact.py +++ b/core/interact/interact.py @@ -366,6 +366,7 @@ class InteractBase(object): outnull_file = open(os.devnull, 'w') os.dup2 ( outnull_file.fileno(), sys.stderr.fileno() ) + os.dup2 ( outnull_file.fileno(), sys.stdout.fileno() ) sys.stderr = outnull_file sys.stdout = outnull_file