summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorTyler Hall <tylerwhall@gmail.com>2013-06-30 15:51:53 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-08-12 13:14:18 +0100
commit2bd2fa985b40c19a0f672a686719442db726da1f (patch)
tree052a4116c8325b4dfe7064fd5bc9d3cac5883235 /meta
parent43585009e834f46b1f7a8f40f1f9bd21d0f8994c (diff)
downloadpoky-2bd2fa985b40c19a0f672a686719442db726da1f.tar.gz
TmuxRunning: handle multi-word commands
Just as in f8ed7446755eeb88191e16749350efa1e7e6197c, tmux wants a single argument for its command. This applies to the "split-window" command as well as "new." Note that this alone is not enough to fix the TmuxRunning devshell when using pseudo because tmux does not preserve the environment that pseudo requires. (From OE-Core master rev: 36fb9799d6a449d86acca3be354af56ad87c3151) (From OE-Core rev: 2470a8f680653f569b88476124fc41a4317e3c5a) Signed-off-by: Tyler Hall <tylerwhall@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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 aecf4e89d0..66197a88dd 100644
--- a/meta/lib/oe/terminal.py
+++ b/meta/lib/oe/terminal.py
@@ -108,7 +108,7 @@ class Screen(Terminal):
108class TmuxRunning(Terminal): 108class TmuxRunning(Terminal):
109 """Open a new pane in the current running tmux window""" 109 """Open a new pane in the current running tmux window"""
110 name = 'tmux-running' 110 name = 'tmux-running'
111 command = 'tmux split-window {command}' 111 command = 'tmux split-window "{command}"'
112 priority = 2.75 112 priority = 2.75
113 113
114 def __init__(self, sh_cmd, title=None, env=None, d=None): 114 def __init__(self, sh_cmd, title=None, env=None, d=None):