From: Remita Amine Date: Sat, 13 Aug 2016 09:26:02 +0000 (+0100) Subject: [downloader/external:curl] Clarify why CurlFD should not capture stderr X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=acfccacad5555c21d649729c5e2cb237a70f46e6;p=youtube-dl [downloader/external:curl] Clarify why CurlFD should not capture stderr --- diff --git a/youtube_dl/downloader/external.py b/youtube_dl/downloader/external.py index f0c30007f..cf4556221 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