in reply to Continuing a program after Forking
unless($child=fork()){ #in child code... .. .. exit} #out... [download]