[fpc-pascal] Execution of shell commands from within Mac OS X Apps

Karl-Michael Schindler Karl-Michael.Schindler at web.de
Sat Jul 12 00:37:50 CEST 2008


Hi,

I tried to execute a shell command from a fpc program in several ways,  
for example with ExecuteProcess from SysUtils. This does not work, if  
I build a .app bundle. The strange thing is that it works if I double  
click Example.app/Contents/MacOS/Example, but it does not work if I  
double click the Example.app. This log shows:

An unhandled exception occurred at $000F2FF1 :

Is this a security measure?

Greetings Michael Schindler aka mischi.



More information about the fpc-pascal mailing list