HELP!

I'm trying to notify a program (progA), from which I launched another application (progB) using the shell(progB) function, of the scond program's (progB's) termination.

Does ANYONE have any idea (specifics please) on how to accomplish this?

Appreciatively,
Mark