[Overview][Constants][Types][Procedures and functions][Index] |
Create child process
Source position: bunxh.inc line 63
function FpFork: TPid; |
FpFork creates a child process which is a copy of the parent process. FpFork returns the process ID in the parent process, and zero in the child's process. (you can get the parent's PID with fpGetPPid).
On error, -1 is returned to the parent, and no child is created.
|
Execute process using environment |
|
|
Clone current process (create new thread) |