in reply to Re: Getting the pid of the process launched by my perl program
in thread Getting the pid of the process launched by my perl program
I'm using the same logic to monitor the child process with a timer in the parent. On maximum timeout I'm killing the child process.
The issue is I'm running an exe from the child which doesn't die on kill the child. I tried to explicitly kill the process with taskkill on windows and it works fine. But I face portability issues because of using taskkill. Can anybody help on this?