Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
JeremyRand opened this issue Mar 10, 2021 · 0 comments
Open

Comments

@JeremyRand
Copy link
Contributor

JeremyRand commented 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 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 added a commit to JeremyRand/service that referenced this issue Mar 10, 2021
Upstream goxsys deprecated IsAnInteractiveSession.

Refs hlandau#17
@JeremyRand 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant