mirror of
https://github.com/gryf/wicd.git
synced 2026-01-04 12:54:12 +01:00
we were getting a bytes obj
This commit is contained in:
@@ -163,7 +163,7 @@ def Run(cmd, include_stderr=False, return_pipe=False,
|
|||||||
if return_pipe:
|
if return_pipe:
|
||||||
return f.stdout
|
return f.stdout
|
||||||
else:
|
else:
|
||||||
return f.communicate()[0]
|
return f.communicate()[0].decode()
|
||||||
|
|
||||||
def LaunchAndWait(cmd):
|
def LaunchAndWait(cmd):
|
||||||
""" Launches the given program with the given arguments, then blocks.
|
""" Launches the given program with the given arguments, then blocks.
|
||||||
|
|||||||
Reference in New Issue
Block a user