py3: get command output as strings

This commit is contained in:
Frédéric Péters 2020-04-18 14:54:33 +02:00
parent 1db6599f71
commit 1e9c8dba10
1 changed files with 1 additions and 1 deletions

View File

@ -141,5 +141,5 @@ def output(cmd, print_output=False, exit_on_error=True):
error(cmd)
if print_output:
print(output)
return output
return output.decode('utf-8')