[Lazarus] TAsyncProcess.OnTerminate doesn't fire

Micha Nelissen micha at neli.hopto.org
Sat Oct 11 12:13:40 CEST 2008


Tom Lisjac wrote:
> The TAsyncProcess option set in the test code below executes and
> terminates without leaving a zombie process, but the OnTerminate event
> never fires. I've tried a variety of options including just
> [poUsePipes,poStderrToOutPut] but have yet to see the OnTerminate
> event.

What Widgetset are you using?

You should not use poWaitOnExit because that basically destroys the idea 
of asynchronous ;-).

Micha



More information about the Lazarus mailing list