service
service copied to clipboard
Non-service incorrectly detected as Windows service in Cirrus CI VM's
When I try to run a program that uses hlandau/service in a Windows VM on Cirrus CI (not as a service), it's incorrectly detected as a service, which leads to the program promptly crashing with Error in service: The service process could not connect to the service controller. It looks like the svc.IsAnInteractiveSession logic (which hlandau/service is relying on for this detection) is deprecated by upstream goxsys (and I can see why; that function does not look reliable to me). I'm not 100% sure that this is why things are breaking on Cirrus, but it seems likely to me.