예제 #1
0
 public static ShellResult ExecuteCommand(string command, string args, int waitTimeout, IShellMonitor monitor = null)
 {
     return(ExecuteCommand(new ShellArgs()
     {
         Command = command,
         Args = args,
         WaitForOutput = true,
         WaitTimeout = waitTimeout,
         Monitor = monitor
     }));
 }
예제 #2
0
 public static ShellResult ExecuteCommand(string command, string args, IShellMonitor monitor)
 {
     return(ExecuteCommand(command, args, true, monitor));
 }