public void Deploy() { try { CreateScripts(); var processLauncher = new ProcessLauncher(BatFileName, Path.GetDirectoryName(BatFileName), string.Empty, false); var result = processLauncher.Execute(); DeployResult = result.Success; } finally { Clean(); } }
public ExecuteInfo Execute(string workingDirectory, string arguments, bool lowPriority) { var processLauncher = new ProcessLauncher(_gitExePath, workingDirectory, arguments, lowPriority); return processLauncher.Execute(); }