mirror of
https://gitgud.io/Melon__Bread/auto-ttv-grabber.git
synced 2024-11-25 00:38:35 -05:00
Spawns the subprocess in the background
This commit is contained in:
parent
ccf38e2358
commit
de9ff12847
2
main.py
2
main.py
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user