Пример #1
0
 public static Task <ProcessResult> NoWindowCmdExecuteAsync(this ProcessExecutor executor, [NotNull] string cmdSwitches, [NotNull] string fileName, [NotNull] string arguments)
 {
     return(executor.NoWindowExecuteAsync("cmd", $"{cmdSwitches} {fileName} {arguments}"));
 }
Пример #2
0
 public static int ShellCmdExecute(this ProcessExecutor executor, [NotNull] string cmdSwitches, [NotNull] string fileName, [NotNull] string arguments)
 {
     return(executor.ShellExecute("cmd", $"{cmdSwitches} {fileName} {arguments}"));
 }