we were getting a bytes obj
This commit is contained in:
1 parent
364db09a6e
commit
ffaa780c07
1 file changed
+1
-1
+1
-1
@@ -163,7 +163,7 @@ def Run(cmd, include_stderr=False, return_pipe=False,
|
||||
if return_pipe:
|
||||
return f.stdout
|
||||
else:
|
||||
return f.communicate()[0]
|
||||
return f.communicate()[0].decode()
|
||||
|
||||
def LaunchAndWait(cmd):
|
||||
""" Launches the given program with the given arguments, then blocks.
|
||||
|
||||
Reference in new issue
Block a user