Kill child process with Parent PID

Discussion in 'C' started by ashwani_ap, Sep 1, 2007.

  1. ashwani_ap

    ashwani_ap New Member

    Sep 1, 2007
    Likes Received:
    Trophy Points:

    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.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice