History

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.

Kacper Michajłow committed 1 year ago

Commit dfbd60f1 parent b870d191 file · +1 −1Browse files

Unified · Split

TOOLS/umpv+1−1
@@ -77,7 +77,7 @@ def start_mpv(files: Iterable[str], socket_path: str) -> None: · 76 unmodified lines
77 "--",77 "--",
78 ])78 ])
79 mpv_command.extend(files)79 mpv_command.extend(files)
80 subprocess.check_call(mpv_command)80 subprocess.Popen(mpv_command, start_new_session=True)
81 81
82def main() -> None:82def main() -> None:
83 files = (os.path.abspath(f) if not is_url(f) else f for f in sys.argv[1:])83 files = (os.path.abspath(f) if not is_url(f) else f for f in sys.argv[1:])

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t