From ec10a1856a089ca4a104094f480cdccaa0728bfa Mon Sep 17 00:00:00 2001 From: YandolsZX Date: Mon, 20 Mar 2023 20:53:41 +0800 Subject: [PATCH] Removed debug stuff --- chatterino_process_monitor.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/chatterino_process_monitor.py b/chatterino_process_monitor.py index 1ea5388..411c19f 100644 --- a/chatterino_process_monitor.py +++ b/chatterino_process_monitor.py @@ -17,8 +17,8 @@ def is_chatterino_running(): # Function to run Chatterino def run_program(program_path): - print("[DEBUG] " + "Dir: " + program_dir + " | " + program_path) - subprocess.Popen([program_path], cwd=program_dir, shell=True) + subprocess.Popen([program_path], cwd=program_dir) + print("Started Chatterino.") # Function to display system tray icon def on_quit_callback(icon): @@ -39,8 +39,8 @@ if __name__ == '__main__': print("Yandols' Chatterino Process Monitor Script") # Set path to Chatterino - program_dir = "C:\\Program Files\\Chatterino7" program_executable = "chatterino.exe" + program_dir = "C:\\Program Files\\Chatterino7" program_path = program_dir + "\\" + program_executable # Create system tray icon