From 4c8a9b9affd30b174fec7de9e76ba30ee2b5e0ff Mon Sep 17 00:00:00 2001 From: Luois45 Date: Sun, 10 Dec 2023 15:55:54 +0100 Subject: [PATCH] Fixed unwanted console output --- run.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/run.py b/run.py index 09080ef..235e7c8 100644 --- a/run.py +++ b/run.py @@ -66,7 +66,11 @@ from tkinter import filedialog import subprocess -subprocess.run("chcp 65001", shell=True, check=True) +subprocess.run("chcp 65001", + shell=True, + check=True, + stdout=subprocess.PIPE, + stderr=subprocess.PIPE) class bcolors: