Skip to content

Commit

Permalink
only send ctrl-c
Browse files Browse the repository at this point in the history
Signed-off-by: Bugen Zhao <[email protected]>
  • Loading branch information
BugenZhao committed Jul 5, 2024
1 parent c63cf78 commit c632be0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -710,10 +710,10 @@ if ! ${TMUX} ls &>/dev/null ; then
exit 0
fi
# Kill other components with Ctrl+C/Ctrl+D
# Kill tmux components with Ctrl+C
${TMUX} list-windows -F "#{window_name} #{pane_id}" \
| awk '{ print $2 }' \
| xargs -I {} ${TMUX} send-keys -t {} C-c C-d
| xargs -I {} ${TMUX} send-keys -t {} C-c
# Stop docker components
containers=$(docker ps -a -q -f name=risedev- 2>/dev/null) || true
Expand Down

0 comments on commit c632be0

Please sign in to comment.