From acfccacad5555c21d649729c5e2cb237a70f46e6 Mon Sep 17 00:00:00 2001 From: Remita Amine Date: Sat, 13 Aug 2016 10:26:02 +0100 Subject: [PATCH] [downloader/external:curl] Clarify why CurlFD should not capture stderr --- youtube_dl/downloader/external.py | 1 + 1 file changed, 1 insertion(+) diff --git a/youtube_dl/downloader/external.py b/youtube_dl/downloader/external.py index f0c30007f7..cf45562217 100644 --- a/youtube_dl/downloader/external.py +++ b/youtube_dl/downloader/external.py @@ -114,6 +114,7 @@ class CurlFD(ExternalFD): self._debug_cmd(cmd) + # curl writes the progress to stderr so don't capture it. p = subprocess.Popen(cmd) p.communicate() return p.returncode