C# Detecting Spawned Processes
问题 I'm writing a piece of c# code that launches an installer and waits for it to return before continuing with other stuff. I'm having trouble with certain installers that spawn other processes with the original process returning before the install has actual finished. Is there some way that I can wait until all the processes have finished? To clarify here's the scenario I'm having trouble with: Launch Installer1 Installer1 spawns/launches another installer (Installer2) Installer 1 returns