generic-poky/meta/lib/oe
Peter Seebach 1f99e74e00 handle two-word commands with tmux
Trying to make a devshell using tmux can fail because "tmux new"
expects a single command, not a series of arguments. It does, however,
split strings in a suitable way. So you can quote the command.

The failure mode is particularly arcane, in that you end up
with a message like:

	ERROR: Unable to spawn terminal auto: \
	Execution of 'pseudo /bin/bash' failed with exit code 1:
	usage: new-session [-d] [-n window-name] [-s session-name] \
	[-t target-session] [command]

which is confusing because there's no "new-session" anywhere in
sight (that's actually "tmux new"), and because what failed to execute
wasn't either pseudo or bash.

(From OE-Core rev: f8ed7446755eeb88191e16749350efa1e7e6197c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-11 15:55:58 +01:00
..
tests test_utils: import functions directly for conciseness 2013-06-07 16:48:25 +01:00
__init__.py lib/oe: Import oe lib from OE.dev 2010-05-06 12:48:05 +01:00
buildhistory_analysis.py classes/buildhistory: track contents of selected files in images 2013-05-10 11:37:16 +01:00
cachedpath.py cachedpath.py: global name 'error' is not defined 2013-05-15 19:27:11 +03:00
classextend.py lib/oe/classextend.py: avoid extending any kernel package 2013-04-05 17:36:34 +01:00
classutils.py oe.classutils: add module 2011-06-28 13:55:43 +01:00
data.py Remove a number of unneeded import os/bb calls 2012-07-19 12:24:50 +01:00
distro_check.py distro_check: Remove creation of empty Meego filelist. 2013-02-12 13:22:44 +00:00
license.py meta/lib/oe: Replace StandardError with Exception 2013-05-09 14:06:51 +01:00
lsb.py meta/lib/oe/lsb.py: extract only the needed info from lsb-release 2013-03-30 09:08:11 +00:00
maketype.py Remove a number of unneeded import os/bb calls 2012-07-19 12:24:50 +01:00
package.py package: Process package stripping in parallel 2013-02-06 13:12:59 +00:00
packagedata.py class/lib: Fix up various file access methods 2013-05-09 22:28:04 +01:00
packagegroup.py oe.packagegroup: add code for package groups (sync from OE) 2011-05-20 19:07:51 +01:00
patch.py classes/lib: Fix getcmdstatus breakage 2013-05-09 16:05:08 +01:00
path.py classes/lib: Update to use print as a function call 2013-05-09 14:06:51 +01:00
prservice.py image/kernel-module-split/eglibc-ld.inc: Remove has_key() usage 2013-05-09 14:06:51 +01:00
qa.py image/kernel-module-split/eglibc-ld.inc: Remove has_key() usage 2013-05-09 14:06:51 +01:00
sstatesig.py classes/recipes/lib: Fix various python whitespace issues 2013-05-09 14:06:51 +01:00
terminal.py handle two-word commands with tmux 2013-06-11 15:55:58 +01:00
types.py clases/lib: Use modern exception syntax 2013-05-09 14:06:50 +01:00
utils.py utils: add trim_version() function 2013-05-30 20:59:09 +01:00