Code: Select all
ProcessStartInfo psi = new ProcessStartInfo(updPath, "/justcheck"); psi.UseShellExecute = true; Process _updater = Process.Start(psi); _updater.WaitForExit(2000); Debug.WriteLine("Exit code is: " + _updater.ExitCode.ToString());
I get "Exit code is 3". What does the 3 mean? Why would I be getting the 3 instead of 0? Also, are there list of the ExitCodes and what they mean?