Show bash prompt after killing a process in tmux -


if run create tmux session this:

tmux new -d -s dev -n server -c ~/projects 'make run-server' 

i have window running make task. if attach window , press ctrl+c, because have remain-on-exit enabled, see "pane dead". :relaunch-pane re-run make run-server, want when press ctrl+c see bash prompt, allowing me enter whatever command want.

is there way besides creating generic window , typing command manually each time create it?

i able working sending keys in separate command:

tmux new -d -s dev -n server -c ~/projects tmux send-keys -t dev:server 'make run-server' enter 

Comments

Popular posts from this blog

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -

minify - Minimizing css files -