summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oe/terminal.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/lib/oe/terminal.py b/meta/lib/oe/terminal.py
index 3c8ef59a45..65486bfd29 100644
--- a/meta/lib/oe/terminal.py
+++ b/meta/lib/oe/terminal.py
@@ -67,7 +67,7 @@ class Gnome(XTerminal):
67 import tempfile 67 import tempfile
68 pidfile = tempfile.NamedTemporaryFile(delete = False).name 68 pidfile = tempfile.NamedTemporaryFile(delete = False).name
69 try: 69 try:
70 sh_cmd = "oe-gnome-terminal-phonehome " + pidfile + " " + sh_cmd 70 sh_cmd = bb.utils.which(os.getenv('PATH'), "oe-gnome-terminal-phonehome") + " " + pidfile + " " + sh_cmd
71 XTerminal.__init__(self, sh_cmd, title, env, d) 71 XTerminal.__init__(self, sh_cmd, title, env, d)
72 while os.stat(pidfile).st_size <= 0: 72 while os.stat(pidfile).st_size <= 0:
73 continue 73 continue
@@ -231,7 +231,6 @@ def spawn(name, sh_cmd, title=None, env=None, d=None):
231 output = output.decode("utf-8") 231 output = output.decode("utf-8")
232 if pipe.returncode != 0: 232 if pipe.returncode != 0:
233 raise ExecutionError(sh_cmd, pipe.returncode, output) 233 raise ExecutionError(sh_cmd, pipe.returncode, output)
234
235def check_tmux_pane_size(tmux): 234def check_tmux_pane_size(tmux):
236 import subprocess as sub 235 import subprocess as sub
237 # On older tmux versions (<1.9), return false. The reason 236 # On older tmux versions (<1.9), return false. The reason