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