Bash or sh cannot execute any binary files

While I am able to execute binaries, when the terminal is open, if I type:

/bin/bash make

or

/bin/sh ls

I get: /usr/bin/make: /usr/bin/make: cannot execute binary file

Why is that? I am on Mavericks, and I have installed the latest Command Line Tools of XCode.

I want to use bash to execute make, because I want to setup external build tools for AppCode.

Cheers


When you call /bin/bash with only one argument, you can only run scripts. Not binaries. This has nothing to do with the tools you installed, it's just the behavior described in the man page.

/bin/bash -c ls should do what you want.