Run same exe twice
<p>I have the following code:</p>

<pre><code>foreach(string fileName in chunkFiles)
{
    p = GenerateProcessInstance();
    p.StartInfo.Arguments = string.Format("{0} {1} false {2}", fileName, Id, logName);
    p.Start();
    p.WaitForExit();
    sent += p.ExitCode;
}
</code></pre>

<p>What I want to do is if I have at least 2 chunks to run the EXE with 2 instances. My only problem is that I have <code>WaitForExit</code>. I am using this because I need a parameter returned from the EXE.
How to solve this problem?</p>
