Help for this page

Select Code to Download


  1. or download this
     
    $spiderProc = Proc::Simple->new();
    $spiderStatus = $spiderProc->start("k:\\spider\\spider.exe"); 
    ...
    print ("test poll: $spiderPoll"); # returns running
    $tempExitStat = $spiderProc->kill(); 
    print ("killing: $tempExitStat"); # returns fill failed