run.bat 524 B

12345678910111213141516171819
  1. @echo off
  2. REM https://stackoverflow.com/a/25719250
  3. REM setlocal makes sure changing directory only applies inside this bat file,
  4. REM and not in the command shell.
  5. setlocal
  6. REM So this bat file can be called from a different working directory.
  7. REM %~dp0 is the directory with this bat file.
  8. cd /d "%~dp0"
  9. REM This is so brotli and gevent search in the python directory for the
  10. REM visual studio c++ runtime dlls
  11. set PATH=.\python;%PATH%
  12. .\python\python.exe -I .\server.py
  13. echo Press any key to quit...
  14. PAUSE > nul