public static string runCommand(string exePath, string[] arguments) { return(CommandRunner.runCommand(exePath, new List <string>(arguments))); }
private void btnOpenCommandPrompt_Click(object sender, EventArgs e) { var commandList = new string[] { "sdkshell.bat", "pause" }; CommandRunner.runCommand_OpenShell("cmd.exe", ((string[])commandList).ToList()); }