Example #1
0
 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();
     }
 }
Example #2
0
 public ExecuteInfo Execute(string workingDirectory, string arguments, bool lowPriority)
 {
     var processLauncher = new ProcessLauncher(_gitExePath, workingDirectory, arguments, lowPriority);
     return processLauncher.Execute();
 }