转到基本的exec命令,该命令的打印输出有问题

I am new to Go and trying to run a simple program with GPG verify a file with my signature file.

Here is my snippet:

out, err := exec.Command("gpg", "--verify", "xyz.json.sig", "xyz.json").Output()
    if err != nil {
        fmt.Printf("%s", err)
        os.Exit(1)
    }
    fmt.Printf("The output is: %s
", out)

When i execute this my output out is coming out empty. If i run this verify command manually from command line i get valid signature, both xyz.json.sig and xyz.json are local files next to my go file. What am i missing any idea?

</div>