fixed utils.cmd_output to utf-8

This commit is contained in:
Blake Harnden 2019-06-03 16:49:55 -07:00
parent 597bd21994
commit c9baf66f3d

View file

@ -207,7 +207,7 @@ def cmd_output(args):
p = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
stdout, _ = p.communicate()
status = p.wait()
return status, stdout.strip()
return status, stdout.decode("utf-8").strip()
except OSError:
raise CoreCommandError(-1, args)