in reply to Detect Process End

I posted some code here that demonstrates how to wait for child processes. That root node may give you some other ideas and places to look too.

If your question is not about child processes, you may want to dig into IPC and interprocess signalling.

-QM
--
Quantum Mechanics: The dreams stuff is made of