1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-10-31 22:44:32 +01:00

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

This commit is contained in:
Remita Amine 2016-08-13 10:26:02 +01:00
parent 5f2c2b7936
commit acfccacad5

View File

@ -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