//Runs the experiment with the currently selected fork values locally. //The experiment is saved in a temporary folder public void RunLocallyCurrentConfiguration() { //we save the experiment with the currently selected fork values int fileId = new Random().Next(1, 1000); string filename = Folders.tempRelativeDir + fileId.ToString() + Extensions.ExperimentExtension; if (!Directory.Exists(Folders.tempRelativeDir)) { Directory.CreateDirectory(Folders.tempRelativeDir); } Save(filename, SaveMode.AsExperimentalUnit); AppVersion bestMatch = AppVersion.BestMatch(m_appVersions); if (bestMatch != null) { Process proc = new Process() { StartInfo = new ProcessStartInfo { FileName = bestMatch.ExeFile, Arguments = filename + " -local", UseShellExecute = false, RedirectStandardOutput = false, CreateNoWindow = true } }; proc.Start(); } else { CaliburnUtility.ShowWarningDialog("The local machine doesn't mach the requirements of any of the app versions", "ERROR"); } }