Golang calls windows.CreateProcessAsUser
function how to get Stdout content:
func CreateProcessAsUser(token Token, appName *uint16, commandLine *uint16, procSecurity *SecurityAttributes, threadSecurity *SecurityAttributes, inheritHandles bool, creationFlags uint32, env *uint16, currentDir *uint16, startupInfo *StartupInfo, outProcInfo *ProcessInformation) (err error)
I tried to convert the C code of Creating a Child Process with Redirected Input and Output to Go code, but failed.