On 26.08.2015 21:22, Michael Van Canneyt wrote:
Here you must add

     AProcess.Environment.Add('LD_LIBRARY_PATH='+fb_RootPath);

It is not necessary to execute the shell.

I use this technique myself, so I am sure it works.

Michael.
Sorry Micheal, you miss understood me. first of all, thank you, I learned one more think. My problem is, adding EnvironmentVariable to application. In terminal "export" command do this, then run application in this terminal. I need this for, firebird embeded need this two EnvironmentVariable. Applcation can be any folder, so my solution is add this two EnvironmentVariable from in application. I hope I can translate my problem.

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to