You shouldn't run it with bash, you should just run it like ./hello after doing 
chmod +x hello on the resulting macOS machine

Reply via email to