On Wed, 26 Aug 2015, FreeMan wrote:

Thank you Michael,
This is work just under IDE, I mean if application start from IDE, then this added variables getting from list. I need, when application run with out IDE, I want add or change values from in application.
I tried this code, but not added to application's variable list
    AProcess.Executable := '/bin/sh';
     AProcess.Parameters.Text := 'export LD_LIBRARY_PATH=' + fb_RootPath;
AProcess.Parameters.Add('export FIREBIRD LD_LIBRARY_PATH=' + fb_RootPath);
     AProcess.Parameters.Add('export PATH=$PATH:' + fb_RootPath);
AProcess.Execute;


AProcess.Environment must be used for this.

Michael.

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

Reply via email to