summaryrefslogtreecommitdiff
path: root/scripts/qemuimage-tests/systemusage
diff options
context:
space:
mode:
authorTyler Hall <tylerwhall@gmail.com>2013-06-30 16:16:19 -0400
committerSaul Wold <sgw@linux.intel.com>2013-07-02 07:58:09 -0700
commit3bb96671e987ce8110ce98b9f6d9efc093f8d20e (patch)
tree6699937f2409bca77e5c2e2dff478efd65d3ca17 /scripts/qemuimage-tests/systemusage
parent3ef5b19cbd7a90e11fc61223737b0b8e0e60b1a3 (diff)
downloadopenembedded-core-3bb96671e987ce8110ce98b9f6d9efc093f8d20e.tar.gz
openembedded-core-3bb96671e987ce8110ce98b9f6d9efc093f8d20e.tar.bz2
openembedded-core-3bb96671e987ce8110ce98b9f6d9efc093f8d20e.zip
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. Signed-off-by: Tyler Hall <tylerwhall@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'scripts/qemuimage-tests/systemusage')
0 files changed, 0 insertions, 0 deletions