py3: get command output as strings
This commit is contained in:
parent
1db6599f71
commit
1e9c8dba10
|
@ -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')
|
||||
|
||||
|
|
Loading…
Reference in New Issue