diff --git a/yt_dlp/downloader/external.py b/yt_dlp/downloader/external.py index 5f54017a8..ee130c827 100644 --- a/yt_dlp/downloader/external.py +++ b/yt_dlp/downloader/external.py @@ -176,7 +176,7 @@ class ExternalFD(FragmentFD): return 0 def _call_process(self, cmd, info_dict): - return Popen.run(cmd, text=True, stderr=subprocess.PIPE) + return Popen.run(cmd, text=True, stderr=subprocess.PIPE if self._CAPTURE_STDERR else None) class CurlFD(ExternalFD):