On Tue, 21 Nov 2006, Marco van de Voort wrote:
> > > this external program kill itself by calling halt() function at the end > > of the code. > > My problem is that each execution of this program will add <defunc> in > > the Linux system : > > > > Please how to clean theses "defunct" on the system...?????????????? > > Don't use execl but sysutils.executeprocess. > > (fp)execl is an internal function that requires a lot of special > borderconditions, one of it being called after a fork, and another that the > mainprogram must wait for it. ExecProcess waits for the child process to exit. This does not help him, as I assume the process needs to run asynchronously ? Michael. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal