cfexecute and Terminal.app
- February 1, 2012
- 1 reply
- 2557 views
I am trying to access ffmpeg using coldfusion. I can do it on a windows machine with no problem, however for this project I have to use a mac OS X Lion.
Changing the code for the different operating system, the process works except for trying to use cfexecute. I didn't include any arguments in the following code since it won't get that far anyway.
Line of code:
<cfexecute name="/Applications/Utilities/Terminal.app" variable="cfexDump" timeout="5" />
The error:
The cause of this exception was that: java.io.IOException: Cannot run program "/Applications/Utilities/Terminal.app": error=13, Permission denied.
There's only one user on this machine (JP), and I have admin permissions.
Is there something I'm missing? Some way of allowing coldfusion permission to access Terminal?
If not, is there another software for Mac OS X that works like the Command Prompt (cmd.exe) in windows?
