Skip to content

TProcess.OnForkEvent

Event triggered after fork occurred on Linux.

Declaration

Source position: processbody.inc line 217

public property OnForkEvent: TProcessForkEvent;

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

Name Description
Output Stream connected to standard output of the process.
Input Stream connected to standard input of the process.
StdErr Stream connected to standard diagnostic output of the process.
CloseInput Close the input stream of the process.
CloseStdErr Close the error stream of the process.
TProcessForkEvent Prototype for TProcess.OnForkEvent event handler.