我正在尝试获取进程列表,包括它们的当前负载。typeperf"\Process(*)\%ProcessorTime"-sc1似乎给了我想要的输出。从cmd执行此操作。现在我尝试从我的Go代码中调用该命令//CommandtolistprocessescmdPS:=exec.Command("typeperf","\"\\Process(*)\\%ProcessorTime\"","-sc","1")cmdPS.Stdout=&buffcmdPS.Stderr=&errBufferr:=cmdPS.Run()iferr!=nil{log.Printf("Err:%s",buff.Stri