I would like a python script as a Windows service, using
sc. The problem is that the path to the executable has a space and requires parameters.
sc create DNSResolver127 binPath= '"C:\Program Files (x86)\Python36-32\python.exe" D:/32dsdnsproxy/32dsdnsproxy.py'
fails (I tried to enclose the whole option in single quotes)
How to add such a service?