I have a set of processes, where some of these require others processes in the set to finish first. How can I check if the specified processes are finished successfully?