suspend flow until a child process completes
Posted on 2004-03-29
here's the psuedo code:
from inside a running exe:
for each row in dataset
create a new process (from a console exe) with parameters based on datarow
currently what is happening is that i get multiple instances of the console.exe but what I want is for one instance to run (takes about 10 minutes) then go and process the next row of the dataset.
does anyone know how to wait for the new process to complete before continuing to the next line of code?