Killing a process from a PIDs

B

Barkingmadscot

Hi, all

Thanks in Advance

I am new API calls so any help would be great.

I have a program that shells to cmd, from this a child process runs,
which i need to wait to finish.

I have the code to wait until the child process finish this work okay,
the problem is i am left with a cmd windows that i need to close too

I know the PID of both process (well i can find them ou each time the
code runs)

The child process automatically finished, so i don't have a problem
that. The code wait then run on once the child process has completed,
How do I kill the cmd window by its PID?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top