summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/terminal.py
diff options
context:
space:
mode:
authorPascal Bach <pascal.bach@siemens.com>2016-02-12 16:06:13 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-14 11:42:19 +0000
commit36b43b233c841b3c09fc17e04686b4b758780963 (patch)
tree4d20dcc0feb49b6bf6108cd88d589fb0633b3be7 /meta/lib/oe/terminal.py
parent03e1950f55ccf2942fb88beb10392b5f999c5003 (diff)
downloadpoky-36b43b233c841b3c09fc17e04686b4b758780963.tar.gz
lib/oe/terminal: set workdir for konsole terminal
It seems that if the --workdir option is not set konsole does open in the users home directory. By setting --workdir . konsole opens in the recipes work directory. This is the same behavior as observed for other consoles. (Tested with Konsole 2.14.2 on Debian Jessie). (From OE-Core rev: bd06944249c3de3f629c013e14f446464441c4da) Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe/terminal.py')
-rw-r--r--meta/lib/oe/terminal.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/terminal.py b/meta/lib/oe/terminal.py
index 1efc06d08e..634daa9033 100644
--- a/meta/lib/oe/terminal.py
+++ b/meta/lib/oe/terminal.py
@@ -83,7 +83,7 @@ class Terminology(XTerminal):
83 priority = 2 83 priority = 2
84 84
85class Konsole(XTerminal): 85class Konsole(XTerminal):
86 command = 'konsole --nofork -p tabtitle="{title}" -e {command}' 86 command = 'konsole --nofork --workdir . -p tabtitle="{title}" -e {command}'
87 priority = 2 87 priority = 2
88 88
89 def __init__(self, sh_cmd, title=None, env=None, d=None): 89 def __init__(self, sh_cmd, title=None, env=None, d=None):