I wonder if there is any way to know if the process came out, even while continuing project execution.
When you use Processo.WaitForExit
it to the application, its execution is stopped.
I would like to know if there is a way to use this WaitForExit
, keeping the execution, eg:
Dim i As Process = New Process()
i.StartInfo.FileName = "Meu executável"
i.UseShellExecute = False
i.Start
i.WaitForExit
'Agora queria que o aplicativo funcionasse normalmente, sem que os botões fiquem congelados...
MsgBox("Aplicativo saiu.", 0)