Skip to content
This repository has been archived by the owner on Apr 2, 2022. It is now read-only.

Commit

Permalink
保存agent输出
Browse files Browse the repository at this point in the history
  • Loading branch information
Sweetnow authored Apr 30, 2020
1 parent 6e04aab commit cf31aae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CAPI/runtime.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ else
token=''
fi

dotnet app/Communication.Agent.dll --server $1 --port 30000 --debugLevel $3 --playercount $2 --timelimit $4 ${token} >/dev/null &
dotnet app/Communication.Agent.dll --server $1 --port 30000 --debugLevel $3 --playercount $2 --timelimit $4 ${token} >agent.log &
for i in `seq 1 $2`
do
/usr/local/mnt/AI${i} 127.0.0.1 30000 >/dev/null &
Expand All @@ -28,4 +28,4 @@ while ps -p $pid >/dev/null
do
sleep 1
done
exit 0
exit 0

0 comments on commit cf31aae

Please sign in to comment.