summaryrefslogtreecommitdiffstats
path: root/meta/lib
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
parentc9c70d624125dfa25461f7586b9bbd2bc7ff2372 (diff)
downloadast2050-yocto-poky-85186302deecc91a345e30598ea84521d8097b77.zip
ast2050-yocto-poky-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')
-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 25f8004..4502f34 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):
OpenPOWER on IntegriCloud