Help for this page
END{ $ENV{"PARENT"} = $$; ... exec (foo); } }
END { if ($pid = fork()) { wait($pid); ... //finish your process off } }