aboutsummaryrefslogtreecommitdiffstats
path: root/run.bat
blob: 26fb963bbdd5d23ba0b129ead7a2aec39907a952 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
@echo off

REM  https://stackoverflow.com/a/25719250
REM  setlocal makes sure changing directory only applies inside this bat file,
REM  and not in the command shell.
setlocal

REM  So this bat file can be called from a different working directory.
REM  %~dp0 is the directory with this bat file.
cd /d "%~dp0"

REM  This is so brotli and gevent search in the python directory for the
REM  visual studio c++ runtime dlls
set PATH=.\python;%PATH%

.\python\python.exe -I .\server.py
echo Press any key to quit...
PAUSE > nul