Best Practice of Running GenisysPro on Windows - GenisysPro/GenisysPro GitHub Wiki
Choose a suitable start script
GenisysPro provides two different start scripts for Windows: start.ps1
and start.cmd
.
start.ps1
is a Windows PowerShell Script. It supports running loop. However, it is only designed for the new Windows Console in Windows 10 and Windows Server 2016. On legacy console, this script floods the console with window title. Therefore, we only suggest use this script on Windows 10 and Windows Server 2016.
start.cmd
is a Windows Command Script. It does not support loop, but it works normally on all Windows versions without flooding the console.
You may choose to download both scripts. They will not interfere with each other.
start.ps1
)
Start your server with Windows PowerShell Script (With loop
When you run GenisysPro with loop, GenisysPro automatically restarts after being stopped. This is extremely useful if you use any auto-restart plugin on your server.
Run .\start.ps1 -Loop
in Windows PowerShell console from the folder you store your GenisysPro files.
Without loop
Right-click on start.ps1
in File Explorer, then select Run with PowerShell
, or run .\start.ps1
in Windows PowerShell console from the folder you store your GenisysPro files.