From dfbd60f9bb847abc564db477c32df124324959ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= Date: Fri, 31 Jan 2025 06:51:23 +0100 Subject: [PATCH] TOOLS/umpv: don't wait for mpv after it is run We just want to start mpv, there is no need to keep umpv script alive. --- TOOLS/umpv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TOOLS/umpv b/TOOLS/umpv index 9bea362a75..41038e774d 100755 --- a/TOOLS/umpv +++ b/TOOLS/umpv @@ -77,7 +77,7 @@ def start_mpv(files: Iterable[str], socket_path: str) -> None: "--", ]) mpv_command.extend(files) - subprocess.check_call(mpv_command) + subprocess.Popen(mpv_command, start_new_session=True) def main() -> None: files = (os.path.abspath(f) if not is_url(f) else f for f in sys.argv[1:])