Hi! I installed Go via sources

$ go version
go version devel +9c91cab0da Tue Dec 8 01:46:45 2020 +0000 darwin/arm64

got better performance than I had with my aging Core i5 4670k, etc, this 
was expectable, no surprises here.

But, there's an issue. When I call `go get`, `go install`, etc via 
`exec.Command` I get this error:

self check: update pedro-miguel: run go get 
gitlab.stageoffice.ru/UCS-TOOLS/pedro-miguel: fork/exec 
/usr/local/go/bin/go: operation not permitted

What may cause this? Launching other utilities works fine:

package main

import (
    "os"
    "os/exec"
)

func main() {
    cmd := exec.Command("echo", "hello!")
    cmd.Stdout = os.Stdout
    if err := cmd.Run(); err != nil {
        panic(err)
    }
}

PS pedro-miguel named after a cascade of locks in Panama channel.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/21d6e61d-0f01-4e4a-b44d-60a3b4878603n%40googlegroups.com.

Reply via email to