Explorar el Código

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

Remita Amine hace 9 años
padre
commit
acfccacad5
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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