summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/lib/oe/terminal.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/lib/oe/terminal.py b/meta/lib/oe/terminal.py
index 31317985f5..30e8f92004 100644
--- a/meta/lib/oe/terminal.py
+++ b/meta/lib/oe/terminal.py
@@ -94,9 +94,11 @@ class Screen(Terminal):
94 command = 'screen -D -m -t "{title}" -S devshell {command}' 94 command = 'screen -D -m -t "{title}" -S devshell {command}'
95 95
96 def __init__(self, sh_cmd, title=None, env=None): 96 def __init__(self, sh_cmd, title=None, env=None):
97 s_id = "devshell_%i" % os.getpid()
98 self.command = "screen -D -m -t \"{title}\" -S %s {command}" % s_id
97 Terminal.__init__(self, sh_cmd, title, env) 99 Terminal.__init__(self, sh_cmd, title, env)
98 logger.warn('Screen started. Please connect in another terminal with ' 100 logger.warn('Screen started. Please connect in another terminal with '
99 '"screen -r devshell"') 101 '"screen -r devshell %s"' % s_id)
100 102
101 103
102def prioritized(): 104def prioritized():