diff options
-rw-r--r-- | meta/lib/oe/terminal.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/terminal.py b/meta/lib/oe/terminal.py index 9eb19a2619..94afe394ed 100644 --- a/meta/lib/oe/terminal.py +++ b/meta/lib/oe/terminal.py | |||
@@ -224,7 +224,7 @@ def spawn(name, sh_cmd, title=None, env=None, d=None): | |||
224 | import time | 224 | import time |
225 | pidfile = tempfile.NamedTemporaryFile(delete = False).name | 225 | pidfile = tempfile.NamedTemporaryFile(delete = False).name |
226 | try: | 226 | try: |
227 | sh_cmd = "oe-gnome-terminal-phonehome " + pidfile + " " + sh_cmd | 227 | sh_cmd = bb.utils.which(os.getenv('PATH'), "oe-gnome-terminal-phonehome") + " " + pidfile + " " + sh_cmd |
228 | pipe = terminal(sh_cmd, title, env, d) | 228 | pipe = terminal(sh_cmd, title, env, d) |
229 | output = pipe.communicate()[0] | 229 | output = pipe.communicate()[0] |
230 | if output: | 230 | if output: |