buildpack/script/console
2019-09-21 19:04:34 +03:00

8 lines
155 B
Bash
Executable file

#!/bin/bash
client=$RANDOM
tmux/bin/tmux new-session -d -t server -s $client
tmux/bin/tmux new-window
tmux send-keys -t $client $@
tmux attach -t $client