I have a problem.

I have a bash script which calls tmux to create new sessions, in which 
it runs another application or script.

This first bash script has a number of environmental variables which I 
need to exist in the new-session env to get passed on to the 
application/script in which the new session starts.

What is the best way to do this?

These variable values are dynamic.

There are a number of ugly and bad ways I could work around this, and 
none of them sound good.

As far as I can tell, options can't be set on a tmux session until after 
it has been created, which defeats the purpose. How do you start a new 
session with a defined env?  Apparently you don't be cause it can't.



------------------------------------------------------------------------------
Time is money. Stop wasting it! Get your web API in 5 minutes.
www.restlet.com/download
http://p.sf.net/sfu/restlet
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to