great! it seems to be the most progressive...
I see, you understand the problem as for complex scripts and so cmd.exe ... but I think that it will be some kind of process tree for windows, I'm right?
perl->cmd.exe->prog.exe
maybe there is a way to follow the process tree or kill cmd.exe in such a way that all children will be also killed?
Thaanks)