[fpc-devel] TProcess.Terminate

Micha Nelissen micha at neli.hopto.org
Thu Oct 4 21:30:32 CEST 2007


Hi,

On unix TProcess.Terminate will send a TERM signal, if this succeeds it
will poll if it exited, and immediately send a KILL signal if not. Isn't
this a bit rigorous ? It may not have had a change to run even, let
alone terminate properly.

Also, it calls GetExitStatus.

Perhaps there should be distinction between 'ask to terminate' and 'kill
now' ?

Micha



More information about the fpc-devel mailing list