[cleanup] Misc

Closes #5471, Closes #5312

Authored by: pukkandan, Alienmaster
This commit is contained in:
Robert Geislinger
2022-11-11 08:43:08 +05:30
committed by pukkandan
parent 8522226d2f
commit 7aaf4cd2a8
8 changed files with 19 additions and 19 deletions

View File

@@ -2698,9 +2698,7 @@ def check_executable(exe, args=[]):
return exe
def _get_exe_version_output(exe, args, *, to_screen=None):
if to_screen:
to_screen(f'Checking exe version: {shell_quote([exe] + args)}')
def _get_exe_version_output(exe, args):
try:
# STDIN should be redirected too. On UNIX-like systems, ffmpeg triggers
# SIGTTOU if yt-dlp is run in the background.