Cannot execute binary file (126)

Hi All,


I'm trying to run simple Apple script to copy a file to Library/preferences and get error:Cannot execute binary file (126)


Here is the code:

/usr/bin/osascript -e 'do shell script "/Users/support/Desktop/appleSC.scpt args 2>&1 etc" with administrator privileges'


Any advise?


Thanks in advance,



Abi

MacBook Pro, OS X Yosemite (10.10.4)

Posted on Oct 7, 2015 3:19 PM

Reply
2 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Cannot execute binary file (126)

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.