Sign in Join
FPDoc Onlineexperiment

TProcess.OnForkEvent property

Member of TProcesspublicIn unit Process

Event triggered after fork occurred on Linux.

Declaration

pascal
property OnForkEvent: TProcessForkEvent read FForkEvent write FForkEvent;

Description

OnForkEvent is triggered after the fpForkcall in the child process. It can be used to e.g. close file descriptors and make changes to other resources before the fpexecv call. This event is not used on windows.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.