I want to use applescript to create a application to run a Unix Executable File. I would like the information from the Unix exe file to be displayed within applescript. Is this possible?
Try this:
set aVariable to do shell script "fullPathToYourExecutable"
display dialog aVariable
来源:https://stackoverflow.com/questions/15015172/using-applescript-to-display-unix-exctable-file