Hold the command prompt until user close it from close button
<p>I going to get the command prompt from my C# application to compile some C++ files. Code is like this.</p>

<pre><code>    private void button1_Click(object sender, EventArgs e)
    {

        string filePath = @"C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\cl.exe";
        System.Diagnostics.Process.Start(filePath);
    }
</code></pre>

<p>But After i click the button it suddenly comes and disappear. Even its opening two command prompts. I need to Hold it and only one command prompt should appear. Can some one provide me the necessary codes. Thank you. </p>
