summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorTyler Hall <tylerwhall@gmail.com>2013-06-30 15:51:53 -0400
committerSaul Wold <sgw@linux.intel.com>2013-07-02 07:58:09 -0700
commit36fb9799d6a449d86acca3be354af56ad87c3151 (patch)
tree0e9a6c082ebb59bf1166f03042c266d038d66e28 /meta
parent3bb96671e987ce8110ce98b9f6d9efc093f8d20e (diff)
downloadopenembedded-core-36fb9799d6a449d86acca3be354af56ad87c3151.tar.gz
openembedded-core-36fb9799d6a449d86acca3be354af56ad87c3151.tar.bz2
openembedded-core-36fb9799d6a449d86acca3be354af56ad87c3151.zip
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. Signed-off-by: Tyler Hall <tylerwhall@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
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 25f8004fab..4502f34f56 100644
--- a/meta/lib/oe/terminal.py
+++ b/meta/lib/oe/terminal.py
@@ -108,7 +108,7 @@ class Screen(Terminal):
class TmuxRunning(Terminal):
"""Open a new pane in the current running tmux window"""
name = 'tmux-running'
- command = 'tmux split-window {command}'
+ command = 'tmux split-window "{command}"'
priority = 2.75
def __init__(self, sh_cmd, title=None, env=None, d=None):