service icon indicating copy to clipboard operation
service copied to clipboard

Non-service incorrectly detected as Windows service in Cirrus CI VM's

Open JeremyRand opened this issue 4 years ago • 0 comments

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.

JeremyRand avatar Mar 10 '21 12:03 JeremyRand