aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/PostProcessor.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2012-10-19 23:28:37 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2012-10-19 23:28:37 +0200
commit073522bc6c5cfdb379bb48976d76e0e5505ae2d1 (patch)
treeef54a39632bb8b98d10538eb3f1bedc51dbe240e /youtube_dl/PostProcessor.py
parent9248cb0549674ca78e1a51ebc98eb5c5a29876e8 (diff)
Don't use 2.7+ check_output
Diffstat (limited to 'youtube_dl/PostProcessor.py')
-rw-r--r--youtube_dl/PostProcessor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/PostProcessor.py b/youtube_dl/PostProcessor.py
index f2e2aa1fa..d14fe71a2 100644
--- 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