(WIP) Replace goxsys IsAnInteractiveSession with IsWindowsService
Upstream goxsys deprecated IsAnInteractiveSession.
Refs https://github.com/hlandau/service/issues/17
Actually, hmm, hold off on this for a while, might be other issues with this.
Yeah, hmm, this breaks ncdns for reasons I am unclear on. Possibly related to the usage of a restricted service user. Will try to investigate more.
Yeah this is not going to be fun to fix; I'll get back to you when I have more useful info. For now, leave this PR open.
Did some debugging; upstream goxsys is ignoring a permission error in an unsafe way, which causes it to interpret restricted services as non-services. I'll look into filing a bug upstream.
Filed upstream bug:https://github.com/golang/go/issues/44921