diff options
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oe/terminal.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oe/terminal.py b/meta/lib/oe/terminal.py index 28470e3e1e..25f8004fab 100644 --- a/meta/lib/oe/terminal.py +++ b/meta/lib/oe/terminal.py | |||
@@ -122,7 +122,7 @@ class TmuxRunning(Terminal): | |||
122 | 122 | ||
123 | class Tmux(Terminal): | 123 | class Tmux(Terminal): |
124 | """Start a new tmux session and window""" | 124 | """Start a new tmux session and window""" |
125 | command = 'tmux new -d -s devshell -n devshell {command}' | 125 | command = 'tmux new -d -s devshell -n devshell "{command}"' |
126 | priority = 0.75 | 126 | priority = 0.75 |
127 | 127 | ||
128 | def __init__(self, sh_cmd, title=None, env=None, d=None): | 128 | def __init__(self, sh_cmd, title=None, env=None, d=None): |
@@ -133,7 +133,7 @@ class Tmux(Terminal): | |||
133 | # devshells, if it's already there, add a new window to it. | 133 | # devshells, if it's already there, add a new window to it. |
134 | window_name = 'devshell-%i' % os.getpid() | 134 | window_name = 'devshell-%i' % os.getpid() |
135 | 135 | ||
136 | self.command = 'tmux new -d -s {0} -n {0} {{command}}'.format(window_name) | 136 | self.command = 'tmux new -d -s {0} -n {0} "{{command}}"'.format(window_name) |
137 | Terminal.__init__(self, sh_cmd, title, env, d) | 137 | Terminal.__init__(self, sh_cmd, title, env, d) |
138 | 138 | ||
139 | attach_cmd = 'tmux att -t {0}'.format(window_name) | 139 | attach_cmd = 'tmux att -t {0}'.format(window_name) |