[utils] get_exe_version: encode executable name (fixes #5647)
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Fri, 8 May 2015 09:01:24 +0000 (11:01 +0200)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Fri, 8 May 2015 09:01:24 +0000 (11:01 +0200)
commit541168039d8f3e7680a15cc366fcc94335308d81
tree9a6875112a003551edccba599213de2874e742c8
parent7ef00afe9da87c7d0fdbea93af39b47d5447f1a0
[utils] get_exe_version: encode executable name (fixes #5647)

It failed in python 2.x when $PATH contains a directory with non-ascii characters.
youtube_dl/utils.py