in reply to Re: various questions about Win32::Process
in thread various questions about Win32::Process

Thanks for the tip. I have tried this version, and indeed, I can recover the real PID of my process and kill it with

Win32::Process::KillProcess($real_child_pid, "-1");

(Note that for some reason, the standard

kill -9 , $real_child_pid

is not working. But I don't care much as long as I can kill the process, one way or another

Any idea about knowing if the process was killed or terminated on its own ?