I would highly recommend checking out Win32::Process Use that to create your process and you'll have the pid to kill it.
If you're on linux get the pid when you fork.
That's how I do it. Others might have better ideas.
In reply to Re: Kill a process by name
by xorl
in thread Kill a process by name
by vikee
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |