From de9ff128479291b26ed3e6425cd3a9f994a3741a Mon Sep 17 00:00:00 2001 From: Melon Bread Date: Tue, 2 Apr 2024 22:01:55 -0400 Subject: [PATCH] Spawns the subprocess in the background --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 2b913b9..343a267 100644 --- a/main.py +++ b/main.py @@ -12,7 +12,7 @@ downloading = [] def download_stream(channel): downloading.append(channel) - subprocess.run(["dl-stream", "-r", channel]) + subprocess.Popen(["dl-stream", "-r", channel], start_new_session=True) # Checks if the channel_list exists and if not makes one