http://qs321.pair.com?node_id=226482


in reply to How to kill an external program

If you're on windows ("spider.exe") you may have a better run of things if you use Win32::Process. You can set an amount of time for the process to run (->Wait) and kill it arbitrarily (->Kill) and so on.