From ffced3998e25f8983ba25ec46f41ff77233b93df Mon Sep 17 00:00:00 2001 From: Guillermo Ramos Date: Tue, 4 Jan 2022 18:03:58 +0100 Subject: yt: exec instead of creating new process --- yt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt b/yt index 4a6280f..5b44770 100755 --- a/yt +++ b/yt @@ -43,7 +43,7 @@ sub api_channel_videos { sub play { my $url = shift; - `mpv --really-quiet $url`; + exec("mpv $url"); } sub ask_query { -- cgit v1.2.3