mirror of
https://gitlab.com/ytdl-org/youtube-dl.git
synced 2025-11-06 14:17:07 -05:00
[downloader/external:curl] Clarify why CurlFD should not capture stderr
This commit is contained in:
@@ -114,6 +114,7 @@ class CurlFD(ExternalFD):
|
|||||||
|
|
||||||
self._debug_cmd(cmd)
|
self._debug_cmd(cmd)
|
||||||
|
|
||||||
|
# curl writes the progress to stderr so don't capture it.
|
||||||
p = subprocess.Popen(cmd)
|
p = subprocess.Popen(cmd)
|
||||||
p.communicate()
|
p.communicate()
|
||||||
return p.returncode
|
return p.returncode
|
||||||
|
|||||||
Reference in New Issue
Block a user