tmux can't affect variables in panes that already contain a running process. 
The only way is to set them yourself (perhaps by getting the values from tmux 
getenv).

-------- Original message --------
From: Enrico Ghirardi <d...@choco.me> 
Date:06/05/2015  16:31  (GMT+00:00) 
To: tmux-users <tmux-users@lists.sourceforge.net> 
Subject: How to access session environment variable from running window 

Hi,

is there a way to access session environment variables from an already running 
window?

In my example I:
1- create a session then detach from it
2- start a new shell set an environment variable (the variable is included in 
the update-environment string)
3- attach to old session from this shell 
4- variable is visible in the session environment if I type “tmux 
show-environment” but I can’t access it from
    currently running windows, must create a new window to access it.

Many thanks,

-- 
Enrico Ghirardi
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to