Jared Stafford
2015-02-26 01:40:05 UTC
I was trying to write a script that uses control mode to monitor
window changes. However, if I run "tmux -C", it creates a new session
and attaches to it. If I run "tmux -C list-sessions", I get the output
for list-sessions, but it exits immediately.
Is there some way I can run tmux in control mode and run multiple
commands without actually attaching to a session?
window changes. However, if I run "tmux -C", it creates a new session
and attaches to it. If I run "tmux -C list-sessions", I get the output
for list-sessions, but it exits immediately.
Is there some way I can run tmux in control mode and run multiple
commands without actually attaching to a session?