Could not post issue on github so hope this arrives somewhere and not in
the void
In the sample for Windows Service the following is stated
https://github.com/golang/sys/blob/master/windows/svc/example/install.go :
s, err = m.CreateService(name, exepath, mgr.Config{DisplayName: desc},
"is", "auto-started")
When I tried this sample (with some customization), the service instantly
failed but if remove "is" "auto-started", it works. That would make sense
because:
https://github.com/golang/sys/blob/master/windows/svc/mgr/mgr.go
states this would be extra arguments.
Proposing to remove those from the sample.
Timothy
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.