Hello,
i am using Tprocess to execute external application, my code works perfectly in windows and Linux but in Snow leopard fails, does not find the executable, a simple code (looking just for mac)is :
-------------------------------------------
TheProcess := TProcessUTF8.Create(nil);
with TheProcess do begin
CurrentDirectory:='/Volumes/xortix/LazarusProjects/IA/; // The path of the binary
CommandLine:='IAlogin'; //The binary
try
execute;
except on e:Exception do
ShowMessage(e.Message+#13+e.ClassName);
end;
end;
-------------------------------------------
i tried too:
CurrentDirectory:='/Volumes/xortix/LazarusProjects/IA/IAlogin.app/Contents/MacOS/;