Thursday, February 4, 2021

Run tmux

echo "create 2k11 Android  Ref session"

ROOT_PATH=`pwd`

CONN_PATH="src/"

BASE_PATH=${ROOT_PATH}/${CONN_PATH}

i=0

tmuxname[$((i++))]="build1"

tmuxname[$((i++))]="sync1"

tmuxname[$((i++))]="phone1"

tmuxname[$((i++))]="phone2"

tmuxname[$((i++))]="app1"

tmuxname[$((i++))]="app2"

tmuxname[$((i++))]="fmk"

tmuxname[$((i++))]="xml"


i=0

tmuxpath[$((i++))]=${BASE_PATH}

tmuxpath[$((i++))]=${BASE_PATH}

tmuxpath[$((i++))]=${BASE_PATH}/vendor/xxx

tmuxpath[$((i++))]=${BASE_PATH}/vendor/xxx

tmuxpath[$((i++))]=${BASE_PATH}/vendor/xxx

tmuxpath[$((i++))]=${BASE_PATH}/vendor/xxx

tmuxpath[$((i++))]=${BASE_PATH}/frameworks

tmuxpath[$((i++))]=${BASE_PATH}/xxx


fnum=${i}


pushd ${BASE_PATH}

  for ((i=0; i<${fnum}; i++))

  do

    tmux new -s ${tmuxname[$i]} -n add_1 -d "cd ${BASE_PATH};bash -i"

  done

popd


No comments:

Post a Comment

n8n index

 【n8n免費本地端部署】Windows版|程式安裝x指令大補帖  【一鍵安裝 n8n】圖文教學,獲得無限額度自動化工具&限時免費升級企業版功能