AcStarter.Program.FirstStage C# (CSharp) Method

FirstStage() private static method

private static FirstStage ( string root, string acsName ) : void
root string
acsName string
return void
        private static void FirstStage(string root, string acsName) {
            Log("first stage");

            var storage = Path.Combine(Path.GetTempPath(), StorageFile);
            File.WriteAllText(storage, acsName);

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

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