tmux split-window leave open

C++
tmux set-option remain-on-exit on
tmux split-window 'ping -c 3 127.0.0.1'

Source

Also in C++: