projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f2c2b7
)
[downloader/external:curl] Clarify why CurlFD should not capture stderr
author
Remita Amine
<remitamine@gmail.com>
Sat, 13 Aug 2016 09:26:02 +0000
(10:26 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Sat, 13 Aug 2016 09:26:02 +0000
(10:26 +0100)
youtube_dl/downloader/external.py
patch
|
blob
|
history
diff --git
a/youtube_dl/downloader/external.py
b/youtube_dl/downloader/external.py
index f0c30007f7dd94991eca2e6f15dd5eebcf3e5e3b..cf45562217ac0c27b77f3a241f3881d770d800ce 100644
(file)
--- a/
youtube_dl/downloader/external.py
+++ b/
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