From bc29550c9bfcc2bc20d06764267b1ccf2afc84ad Mon Sep 17 00:00:00 2001 From: TsuyoshiKawamura Date: Mon, 25 Mar 2024 16:21:47 +0900 Subject: [PATCH] autotest: RiTW using Zellij --- Tools/autotest/run_in_terminal_window.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Tools/autotest/run_in_terminal_window.sh b/Tools/autotest/run_in_terminal_window.sh index ac5c8e792dbca..343f745b157bd 100755 --- a/Tools/autotest/run_in_terminal_window.sh +++ b/Tools/autotest/run_in_terminal_window.sh @@ -44,6 +44,9 @@ elif [ -n "$DISPLAY" -a -n "$(which gnome-terminal)" ]; then elif [ -n "$STY" ]; then # We are running inside of screen, try to start it there screen -X screen -t "$name" bash -c "cd $PWD; $*" +elif [ -n "$ZELLIJ" ]; then + # Create a new pane to run + zellij run -n "$name" -- "$1" "${@:2}" else filename="/tmp/$name.log" echo "RiTW: Window access not found, logging to $filename"