mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-01-07 17:16:08 +00:00
[downloader/external:curl] Clarify why CurlFD should not capture stderr
This commit is contained in:
parent
5f2c2b7936
commit
acfccacad5
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue