Skip to content

Commit

Permalink
autotest: RiTW using Zellij
Browse files Browse the repository at this point in the history
  • Loading branch information
tajisoft authored and tridge committed Mar 27, 2024
1 parent ba7fc3f commit bc29550
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Tools/autotest/run_in_terminal_window.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit bc29550

Please sign in to comment.