예제 #1
0
 protected async Task ExecuteCommandAsync(string command, string arguments, IConsoleHost host)
 {
     if (Simulate)
     {
         host.WriteMessage("SIMULATE " + command);
     }
     else
     {
         await ProcessUtilities.ExecuteAsync(command, arguments, Verbose);
     }
 }