title: vb.net check if process I started is done
body: <p>I have started a process:</p>
  
  <pre><code>Dim getUdpate as Process
  getUpdate = New Process
  getUpdate.StartInfo.FileName = "C:\UTIL\GETBTCH.BAT"
  getUpdate.StartInfo.WindowStyle = ProcessWindowStyle.Hidden
  getUpdate.StartInfo.UseShellExecute = False
  getUpdate.StartInfo.WorkingDirectory = "C:\UTIL\"
  getUpdate.Start()
  getUpdate.Close()
  </code></pre>
  
  <p>Then, I want to Run another process but I want to check first if the <code>getUpdate</code> process is already finished.</p>
  
  <p>How do I check if the process is already finished?</p>
  
  <p>I already tried to look at the processes ID, but it only display cmd.exe and there are a lot of cmd.exe as the processes ID so I can't just go and stop all of those.</p>