This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
youtube-dl
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
1.1k
Wiki
Activity
Browse Source
[downloader/external:curl] Clarify why CurlFD should not capture stderr
totalwebcasting
Remita Amine
8 years ago
parent
5f2c2b7936
commit
acfccacad5
1 changed files
with
1 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
youtube_dl/downloader/external.py
+ 1
- 0
youtube_dl/downloader/external.py
View File
@ -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
Write
Preview
Loading…
Cancel
Save