It is called within a forked process to do the actual job.