# Because out, err := exec.Command("/bin/sh", "-c", "echo 1").Output() works just fine 🙂 So it must be your input