10 lines
370 B
Batchfile
10 lines
370 B
Batchfile
@echo off
|
|
rem Web simulator in two parts:
|
|
rem engine - python.exe web_sim.py --backend (127.0.0.1:8766, exchange data, stays in the VPN)
|
|
rem page - pythonw.exe web_proxy.py (0.0.0.0:8765, public; add pythonw.exe to the VPN exclusions)
|
|
cd /d "%~dp0"
|
|
start "web_proxy" pyw -3 web_proxy.py
|
|
start "" http://127.0.0.1:8765
|
|
py -3 web_sim.py --backend
|
|
pause
|