tmux run command in current pane then run another command in the splite pane

Viewed 14

How to run command python3 -m http.server 8001 in the current pane, then run another HTTP server in the split pane in tmux?

Like this, but this not working.

tmux run "python3 -m http.server 8001" \; splitw "python3 -m http.server 8002"
0 Answers
Related