-
Notifications
You must be signed in to change notification settings - Fork 18.8k
Closed
Labels
FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.OS-Windows
Milestone
Description
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version go1.10 windows/amd64
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
set GOARCH=amd64
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOROOT=C:\Go
set GOTOOLDIR=C:\Go\pkg\tool\windows_amd64What did you do?
I want to use sys/windows/svc/mgr Query() get the specifed service info
What did you expect to see?
I hope it can return more additional info, such as Win32ExitCode, ServiceType. It is best to return service PID.
What did you see instead?
Now this function only return State and Accepts.
service PID should call QueryServiceStatusEx, but now Query() call QueryServiceStatus, i see windows api doc says QueryServiceStatus has been superseded by the QueryServiceStatusEx function.
So whether use QueryServiceStatusEx replace QueryServiceStatus in Query()?
Metadata
Metadata
Assignees
Labels
FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.OS-Windows