Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   Kill child process with Parent PID (http://www.go4expert.com/forums/kill-child-process-parent-pid-t6145/)

ashwani_ap 1Sep2007 10:50

Kill child process with Parent PID

Can anyone help me in finding the Child process ID with the parent process ID.

I have the PID of one process. But, thus process spawns another child process whose PID I don't know. I want to kill both the process through my C Code TerminateProcess(). but I know only the parent PID so the TerminateProcess() is killing only the parent process not the child process. Please guide.

All times are GMT +5.5. The time now is 22:48.