summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/terminal.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oe/terminal.py')
-rw-r--r--meta/lib/oe/terminal.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/lib/oe/terminal.py b/meta/lib/oe/terminal.py
index 38e66cef1f..a89fa45691 100644
--- a/meta/lib/oe/terminal.py
+++ b/meta/lib/oe/terminal.py
@@ -239,6 +239,8 @@ def spawn(name, sh_cmd, title=None, env=None, d=None):
239 239
240 pipe = terminal(sh_cmd, title, env, d) 240 pipe = terminal(sh_cmd, title, env, d)
241 output = pipe.communicate()[0] 241 output = pipe.communicate()[0]
242 if output:
243 output = output.decode("utf-8")
242 if pipe.returncode != 0: 244 if pipe.returncode != 0:
243 raise ExecutionError(sh_cmd, pipe.returncode, output) 245 raise ExecutionError(sh_cmd, pipe.returncode, output)
244 246