diff options
author | Guillermo Ramos | 2022-01-04 18:03:58 +0100 |
---|---|---|
committer | Guillermo Ramos | 2022-01-04 18:03:58 +0100 |
commit | ffced3998e25f8983ba25ec46f41ff77233b93df (patch) | |
tree | d857e6f6d8f4a350c1db5563253b716c1d0f2d92 | |
parent | 74250f810201c37d49b3b4599da2148830fb73c1 (diff) | |
download | cli-ffced3998e25f8983ba25ec46f41ff77233b93df.tar.gz |
yt: exec instead of creating new process
-rwxr-xr-x | yt | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -43,7 +43,7 @@ sub api_channel_videos { sub play { my $url = shift; - `mpv --really-quiet $url`; + exec("mpv $url"); } sub ask_query { |