diff --git a/cmd/ps.go b/cmd/ps.go index 82909da..23cfa47 100644 --- a/cmd/ps.go +++ b/cmd/ps.go @@ -108,6 +108,7 @@ func getCurrentVersion(srv string) string { execbin := filepath.Join(env.MeshEnv.Prefix + srv) cmd := exec.Command(execbin, "--json") // 替换为适合操作系统的命令 output, err := cmd.Output() + fmt.Println(string(output), err) if err != nil { return " - " }