We just want to start mpv, there is no need to keep umpv script alive.
Unified · Split
| @@ -77,7 +77,7 @@ def start_mpv(files: Iterable[str], socket_path: str) -> None: · 76 unmodified lines | ||
| 77 | 77 | "--", |
| 78 | 78 | ]) |
| 79 | 79 | mpv_command.extend(files) |
| 80 | − subprocess.check_call(mpv_command) | |
| 80 | + subprocess.Popen(mpv_command, start_new_session=True) | |
| 81 | 81 | |
| 82 | 82 | def main() -> None: |
| 83 | 83 | files = (os.path.abspath(f) if not is_url(f) else f for f in sys.argv[1:]) |