What are the different ways that I can execute a script from inside of C#?
The only way I have found is the following, are there any other ways?
scriptConsoleProcess = new Process();
scriptConsoleProcess.StartInfo.FileName = scriptPath;
scriptConsoleProcess.StartInfo.UseShellExecute = true;
scriptConsoleProcess.StartInfo.CreateNoWindow = true;
scriptConsoleProcess.Start();