J
Jeff
I need to run many processes from my application. and I am using the
following enclosed in a for next loop:
System.Diagnostics.Process runObj = new System.Diagnostics.Process();
runObj.StartInfo.FileName = exepath;
runObj.Start();
What I want to do is limit the number of of process which are run at any
one time. So if I have 20 processes to run I can limit it to 10
consecutive processes. When a process finishes the next in the list
starts untill all process finish.
How could I achieve this using this code or is there a better way of
doing this.
Regards
Jeff
following enclosed in a for next loop:
System.Diagnostics.Process runObj = new System.Diagnostics.Process();
runObj.StartInfo.FileName = exepath;
runObj.Start();
What I want to do is limit the number of of process which are run at any
one time. So if I have 20 processes to run I can limit it to 10
consecutive processes. When a process finishes the next in the list
starts untill all process finish.
How could I achieve this using this code or is there a better way of
doing this.
Regards
Jeff