private void ExecuteWindows(string command) { string path = Path.GetFullPath( Path.Combine(TempLocation, "patchkit-tools.bat")); PluginAssert.IsTrue(File.Exists(path)); string executable = "\"" + path + "\" " + command; Terminal.Start(executable); }
private void ExecuteMac(string command) { string path = Path.GetFullPath(Path.Combine(TempLocation, "patchkit-tools")); PluginAssert.IsTrue(File.Exists(path)); string executable = string.Format("{0} {1}", path, command); Terminal.Start(executable); }