Spawns the subprocess in the background

This commit is contained in:
Rain Clark 2024-04-02 22:01:55 -04:00
parent ccf38e2358
commit de9ff12847

View File

@ -12,7 +12,7 @@ downloading = []
def download_stream(channel): def download_stream(channel):
downloading.append(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 # Checks if the channel_list exists and if not makes one