projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9248cb0
)
Don't use 2.7+ check_output
author
Philipp Hagemeister
<phihag@phihag.de>
Fri, 19 Oct 2012 21:28:37 +0000
(23:28 +0200)
committer
Philipp Hagemeister
<phihag@phihag.de>
Fri, 19 Oct 2012 21:28:37 +0000
(23:28 +0200)
youtube_dl/PostProcessor.py
patch
|
blob
|
history
diff --git
a/youtube_dl/PostProcessor.py
b/youtube_dl/PostProcessor.py
index f2e2aa1fadf5e8c8c1962ef11851820802550ce0..d14fe71a2b2fce124c8d5b8bbafeb0a0d1e7a83a 100644
(file)
--- a/
youtube_dl/PostProcessor.py
+++ b/
youtube_dl/PostProcessor.py
@@
-73,7
+73,7
@@
class FFmpegExtractAudioPP(PostProcessor):
def detect_executables():
def executable(exe):
try:
- subprocess.
check_output([exe, '-version']
)
+ subprocess.
Popen([exe, '-version'], stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate(
)
except OSError:
return False
return exe