소스 검색

[downloader/external:curl] Clarify why CurlFD should not capture stderr

Remita Amine 9 년 전
부모
커밋
acfccacad5
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      youtube_dl/downloader/external.py

+ 1 - 0
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