When you run the built binary (go build), it interacts with the shell’s current state and terminal settings, which might differ from the temporary environment used by go run