diff options
author | Biswakalyan Bhuyan <biswa@surgot.in> | 2024-09-19 15:33:11 +0530 |
---|---|---|
committer | Biswakalyan Bhuyan <biswa@surgot.in> | 2024-09-19 15:33:11 +0530 |
commit | a4e01da27c08e43a67b2618ad1e71c1f8f86d5cd (patch) | |
tree | 5b8f407dbb7e9d1ab2106ac0cc8564897e7a2098 /run.bat | |
download | yt-local-master.tar.gz yt-local-master.tar.bz2 yt-local-master.zip |
Diffstat (limited to 'run.bat')
-rw-r--r-- | run.bat | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -0,0 +1,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 |