summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorTyler Hall <tylerwhall@gmail.com>2013-06-30 16:16:19 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-08-12 13:14:18 +0100
commit43585009e834f46b1f7a8f40f1f9bd21d0f8994c (patch)
treebe709a4bf75ae724f82c624cb24493bd0553a219 /meta/lib
parent9aa544f74202cbe6b50a5668f91c73a1d7ac99bc (diff)
downloadpoky-43585009e834f46b1f7a8f40f1f9bd21d0f8994c.tar.gz
terminal: Run command using a wrapper script
Some terminals may not pass the environment into the child process. This is true when using "tmux split-window." If tmux is already running, it will start the command with the tmux session environment, ignoring the environment where the command was issued. This could possibly be worked around when launching tmux by injecting variables into the user's session environment or adding the variables to the "update-environment" tmux setting. However, both methods would permanently alter the user's session, which is undesirable. By using a wrapper script, we have full control over the final environment. Replace the env dictionary with an empty data smart that will contain the exported variables and a wrapper function that execs the original command. (From OE-Core master rev: 3bb96671e987ce8110ce98b9f6d9efc093f8d20e) (From OE-Core rev: a749f068e08217264324372a19b561181bfd31cc) 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')
0 files changed, 0 insertions, 0 deletions