Description: arm64 does not support syscall.Dup2, use syscall.Dup3 Author: Curtis Hovey --- a/vendor/src/github.com/spacemonkeygo/spacelog/capture_other.go +++ b/vendor/src/github.com/spacemonkeygo/spacelog/capture_other.go @@ -23,11 +23,11 @@ // CaptureOutputToFd redirects the current process' stdout and stderr file // descriptors to the given file descriptor, using the dup2 syscall. func CaptureOutputToFd(fd int) error { - err := syscall.Dup2(fd, syscall.Stdout) + err := syscall.Dup3(fd, syscall.Stdout, 0) if err != nil { return err } - err = syscall.Dup2(fd, syscall.Stderr) + err = syscall.Dup3(fd, syscall.Stderr, 0) if err != nil { return err }