summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/terminal.py
diff options
context:
space:
mode:
authorTyler Hall <tylerwhall@gmail.com>2013-06-30 15:51:53 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-07-02 22:23:51 +0100
commit85186302deecc91a345e30598ea84521d8097b77 (patch)
treeca6fdb7055637d490bf2d5d2b2a0263b1f5a5e87 /meta/lib/oe/terminal.py
parentc9c70d624125dfa25461f7586b9bbd2bc7ff2372 (diff)
downloadpoky-85186302deecc91a345e30598ea84521d8097b77.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 rev: 36fb9799d6a449d86acca3be354af56ad87c3151) 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/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 25f8004fab..4502f34f56 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):