@echo off rem Start Server Monitor without a console window (needs Python 3.8+ from python.org). where pythonw >nul 2>nul && (start "" pythonw "%~dp0main.py" %*) || (start "" pyw "%~dp0main.py" %*)