You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
JeremyRand
changed the title
Non-service incorrectly detected as service in Cirrus CI VM's
Non-service incorrectly detected as Windows service in Cirrus CI VM's
Mar 10, 2021
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 thesvc.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.The text was updated successfully, but these errors were encountered: