2012/9/28 Bernd <[email protected]>: > 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: uses IDEExternToolIntf; begin ... Tool := TIDEExternalToolOptions.Create; Tool.Filename := '/bin/sh'; Tool.CmdLineParams := 'DEBUILD.sh'; Tool.WorkingDirectory := Settings.GetProjectDir; Tool.ShowAllOutput := True; RunExternalTool(Tool); Tool.Free; My other question (the other thread) regarding the version info is still open. Bernd -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
