Start external applications and check if they are still running



Hello,

I need to start several other Delphi executables from my main application. They run independantly.
But when the main application is closed I need a way to check if there are still any applications open that have been started from the main application.
How can I do this?

I start the applications with Shellexecute.
Does this give me an id of the started application that I can check if it's still running?

Thx,
Bernaert Dominique.
.