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.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/lib/oe/terminal.py b/meta/lib/oe/terminal.py
index 53186c4a3e..de8dcebf94 100644
--- a/meta/lib/oe/terminal.py
+++ b/meta/lib/oe/terminal.py
@@ -30,9 +30,10 @@ class Registry(oe.classutils.ClassRegistry):
30 30
31class Terminal(Popen, metaclass=Registry): 31class Terminal(Popen, metaclass=Registry):
32 def __init__(self, sh_cmd, title=None, env=None, d=None): 32 def __init__(self, sh_cmd, title=None, env=None, d=None):
33 from subprocess import STDOUT
33 fmt_sh_cmd = self.format_command(sh_cmd, title) 34 fmt_sh_cmd = self.format_command(sh_cmd, title)
34 try: 35 try:
35 Popen.__init__(self, fmt_sh_cmd, env=env) 36 Popen.__init__(self, fmt_sh_cmd, env=env, stderr=STDOUT)
36 except OSError as exc: 37 except OSError as exc:
37 import errno 38 import errno
38 if exc.errno == errno.ENOENT: 39 if exc.errno == errno.ENOENT: