How to track whether Process has completed?
Process process = Process.Start(PATH); And is it necessary to do something with the process object if the process has been completed?
How to track whether Process has completed?
Process process = Process.Start(PATH); And is it necessary to do something with the process object if the process has been completed?
Several ways:
Process.OnExited() eventProcess.WaitOnExit() and the program will not run further until the process is completed.Decided to use Process.HasExited
Source: https://ru.stackoverflow.com/questions/525269/
All Articles