[fpc-pascal] TProcess execution

Micha Nelissen micha at neli.hopto.org
Thu Feb 9 16:51:03 CET 2006


On Thu, 9 Feb 2006 08:42:21 +0100
Jonas Maebe <jonas.maebe at elis.ugent.be> wrote:

> The reason is that because of the fork/vfork construct these OS'es  
> use, there is no way to report an error to the parent process except  
> by exit codes.

This is not true btw: you can use shared memory. Set up a variable in the
parent process so the child process knows where to write what happened plus
error codes. Don't know how difficult it is to do in fpc though, but I
guess it's just as "simple" as in C using fpmmap and friends ?

Micha



More information about the fpc-pascal mailing list