[Lazarus] Running external process from within Lazarus design package
prof7bit at gmail.com
Sat Sep 29 12:50:39 CEST 2012
2012/9/28 Bernd <prof7bit at gmail.com>:
> I need to run an external program from within my lazarus package.
Ok, I think I have found this one myself, this seems to work:
Tool := TIDEExternalToolOptions.Create;
Tool.Filename := '/bin/sh';
Tool.CmdLineParams := 'DEBUILD.sh';
Tool.WorkingDirectory := Settings.GetProjectDir;
Tool.ShowAllOutput := True;
My other question (the other thread) regarding the version info is still open.
More information about the Lazarus