> I'm implementing a Console application. > > I need to run external program and wait until it terminates (reading > the exit-code). > > This on Windows, Linux and Mac-OS X. > > Do you know any simple method valid for all these OS? http://www.freepascal.org/docs-html/rtl/sysutils/executeprocess.html