Function Fork : Longint;
Fork creates a child process which is a copy of the parent process.
Fork returns the process ID in the parent process, and zero in the child's process. (you can get the parent's PID with GetPPid).
On error, -1 is returned to the parent, and no child is created.
Execve, fork(2)