I have an app that uses /usr/bin/which to find the path of an executable. Now on El Capitan the /usr/bin/which gives an error and no result even though the executable exists.
Note I have disabled “system integrity protection” on this system.
Someone else has reported issues with the ‘which’ command on El Captian. However I can seem to find it now. Maybe spend some time and see if you dig out the thread, hopefully they’ll have a solution for you.
[quote=221713:@JP Kelly]I have an app that uses /usr/bin/which to find the path of an executable. Now on El Capitan the /usr/bin/which gives an error and no result even though the executable exists.
Note I have disabled “system integrity protection” on this system.[/quote]
What error? Could you post the code that invokes the shell?