tmux_sessions.sh 390 B

123456789101112131415
  1. #!/bin/sh
  2. set -e
  3. # Start a tmux session with a lilith node and two fud nodes.
  4. tmux new-session -d
  5. tmux send-keys "../../../../lilith -c lilith_config.toml" Enter
  6. sleep 2
  7. tmux split-window -v
  8. tmux send-keys "../fud/target/debug/fud -c fud_config0.toml" Enter
  9. sleep 2
  10. tmux select-pane -t 1
  11. tmux split-window -h
  12. tmux send-keys "../fud/target/debug/fud -c fud_config1.toml" Enter
  13. tmux attach