AcStarter.Program.SecondStage C# (CSharp) Method

SecondStage() private static method

private static SecondStage ( string root ) : void
root string
return void
        private static void SecondStage(string root) {
            Log("second stage");

            var storage = Path.Combine(Path.GetTempPath(), StorageFile);
            string exeName;

            try {
                exeName = File.ReadAllText(storage);
            } catch (Exception) {
                exeName = DefaultExeFile;
            }

            Log("name: '" + exeName + "'");
            Process.Start(new ProcessStartInfo { FileName = Path.Combine(root, exeName) });

            Log("now wait...");
            Thread.Sleep(4000);
        }