* [PATCH] TmuxRunning: handle multi-word commands
@ 2013-06-30 19:51 Tyler Hall
0 siblings, 0 replies; only message in thread
From: Tyler Hall @ 2013-06-30 19:51 UTC (permalink / raw)
To: openembedded-core
From: Tyler Hall <tylerwhall@gmail.com>
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>
---
meta/lib/oe/terminal.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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):
--
1.8.3.2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-06-30 19:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-30 19:51 [PATCH] TmuxRunning: handle multi-word commands Tyler Hall
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox