aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillermo Ramos2022-01-04 18:03:58 +0100
committerGuillermo Ramos2022-01-04 18:03:58 +0100
commitffced3998e25f8983ba25ec46f41ff77233b93df (patch)
treed857e6f6d8f4a350c1db5563253b716c1d0f2d92
parent74250f810201c37d49b3b4599da2148830fb73c1 (diff)
downloadcli-ffced3998e25f8983ba25ec46f41ff77233b93df.tar.gz
yt: exec instead of creating new process
-rwxr-xr-xyt2
1 files changed, 1 insertions, 1 deletions
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 {