fix: clean exit by catching keyboard interrupt (#2206)
This commit is contained in:
parent
119d06fb7c
commit
4a671a1b3b
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ def run():
|
|||
cmd.extend([stream_url])
|
||||
|
||||
print(" ".join(cmd))
|
||||
with suppress(subprocess.CalledProcessError):
|
||||
with suppress(subprocess.CalledProcessError, KeyboardInterrupt):
|
||||
subprocess.run(cmd, check=True, text=True)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue