From 9411c4e47500e271d8fb88143c86e6dcb2d89684 Mon Sep 17 00:00:00 2001
From: wu_xinjun <bent20140204@outlook.com>
Date: 星期一, 28 二月 2022 10:43:41 +0800
Subject: [PATCH] Merge commit 'f79b30a55db543bd1c7dd494a8c896df8841aa28' into addFeature

---
 startServer.bat |   20 ++++++++++++++++++--
 1 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/startServer.bat b/startServer.bat
index 49b8ce6..95d0c07 100644
--- a/startServer.bat
+++ b/startServer.bat
@@ -9,8 +9,24 @@
 
 @REM Setting the env
 if not exist %aerialpython% (
-    %envsetting% 
+    call %envsetting% 
 )
+cd %~dp0
+echo change to path: %cd%
+
+set MQhost=172.17.17.206
+set MQuser=chai
+set MQpassword=password123
+set QUEUEname=aerial_rpc
+set WEBport=5000
+set SAVEfolder=./Images
+set LOGfile=Server.log
 
 @REM Launch the Server
-%aerialpython% ./src/Server.py
+echo the log file will be saved in the [%LOGfile%] file
+echo Server.py is running ...
+@REM -------- Usage: Server.py [MQhost] [MQuser] [MQpassword] [QUEUEname] [WEBport] [SAVEfolder]")
+%aerialpython% ./src/Server.py %MQhost% %MQuser% %MQpassword% %QUEUEname% %WEBport% %SAVEfolder% >> >> %LOGfile%
+echo Server.py has been terminited.
+pause
+

--
Gitblit v1.9.1