I want to run tmux with shell command in it
I try:
tmux new-session -d -s foo 'echo intmux'
( I want to use this later in bash script)
But it doesn't works. I expect that:
1) Tmux open new window ( like tmux new )
2) command echo intmux
will be called
tmux new-session -s foo 'echo intmux'
. Further, is the goal for you to have an interactive shell onceecho intmux
completes, or is that just a placeholder for some other command?