Skip to content
Snippets Groups Projects
windows.bat 477 B
Newer Older
Xin-Hao Zhu's avatar
Xin-Hao Zhu committed
@echo off

REM Set proxy settings
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 Remove existing directory and clone the repository
Xin-Hao Zhu's avatar
Xin-Hao Zhu committed
if exist mtcmon-rev (
    rmdir /S /Q mtcmon-rev
)
Xin-Hao Zhu's avatar
Xin-Hao Zhu committed
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