QUERY: How to control external exe & read it's process details

I would like to create a service or background running program (something that minimizes to system tray).

It would have a path list of external applications, eg.

- C:App1Task1.exe
- C:App2Task2.exe
- C:App3Task3.exe

It would start the first one and monitor the process details (CPU Usage, Mem Usage, and maybe I/O Writes). Each application will do their jobs for a couple of minutes then go idle - hence completed the task. At this point the CPU Usage = 0, Mem Usage, etc. will be idle.

Then I need to close/kill that process and start the next application in the list. And this repeats as above and so on.

Does anyone know how to execute an external program, monitor the process details, then kill it?
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories