diff --git a/beetsplug/echonest.py b/beetsplug/echonest.py index 2511eb2a1..4ac000885 100644 --- a/beetsplug/echonest.py +++ b/beetsplug/echonest.py @@ -298,7 +298,7 @@ class EchonestMetadataPlugin(plugins.BeetsPlugin): # Run the command. try: - subprocess.check_call(opts, close_fds=True, stderr=DEVNULL) + util.command_output(opts) except (OSError, subprocess.CalledProcessError) as exc: log.debug(u'echonest: encode failed: {0}'.format(exc)) util.remove(dest)