XP is just a number | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Hi,
If you spawn the processes yourself from within a perl script you should use Win32::Job . This will give you job control and thus the ability to kill a group of process. As i understand it, this is the way to control processes in Windows, that is killing a processes and all itīs sons. I find dealing with PID and PPIDS is kind of not adapted since PIDs numbers are recycled fastly and you could kill something else ! In "real" windows programing there may be something like a "process handle" that you get when you create a process and that allow fine control, but within Perl Win32::Job seems the way to go ... ZlR. In reply to Re^3: How do I kill a process tree in Windows
by ZlR
|
|