Windows Service is ignoring passed parameters

I just created a Test Service in order to create the framework for another script I am developing. I need to pass parameters to the Service, so I modified the service properties manually to enter the parameters


I even checked in the registry and the parameters are there:

However, nothing is passed to the OnStart function. This is my code:

It looks the helper code when the EXE was created is ignoring the arguments.

Please advise,

I realized my code was wrong so I moved the Param definitions to the top. However, the passed arguments are still ignored.

This was never implemented and I’ve opened an issue for it: