愚蠢的问题,但我正在启动几个外部应用程序(all .exe)
。进程启动后,如何让我的程序等到该进程结束再启动另一个进程?
例子'
'Start application
Process.Start(My.Computer.FileSystem.CurrentDirectory & "SomeEXE1.exe")
**' A if statement or something to state that SomeEXE2.exe will NOT start until SomeEXE1.exe finish.**
Process.Start(My.Computer.FileSystem.CurrentDirectory & "SomeEXE2.exe")