Help for this page

Select Code to Download


  1. or download this
    END{
     $ENV{"PARENT"} = $$;
    ...
       exec (foo);
     }
    }
    
  2. or download this
    END {
     if ($pid = fork()) {
      wait($pid);
    ...
      //finish your process off
     }
    }