Skip to content
Snippets Groups Projects
windows.bat 602 B
Newer Older
Xin-Hao Zhu's avatar
Xin-Hao Zhu committed
set http_proxy=http://proxy.zhuxh.cloud:5868
set https_proxy=http://proxy.zhuxh.cloud:5868
set all_proxy=http://proxy.zhuxh.cloud:5868

@REM REM Kill Python processes
@REM taskkill /F /IM python.exe /FI "WINDOWTITLE eq start_client.py*"
@REM taskkill /F /IM python.exe /FI "WINDOWTITLE eq getstat.py*"

REM Remove existing directory and clone the repository
if exist mtcmon-rev rmdir /S /Q mtcmon-rev
git clone https://git.nju.edu.cn/zhuxh/mtcmon-rev.git
cd mtcmon-rev

REM Start the Python script in the background
start /B pythonw start_client.py > start_client.log 2>&1

echo start_client.py started