Example #1
0
 public static string runCommand(string exePath, string[] arguments)
 {
     return(CommandRunner.runCommand(exePath, new List <string>(arguments)));
 }
Example #2
0
        private void btnOpenCommandPrompt_Click(object sender, EventArgs e)
        {
            var commandList = new string[] { "sdkshell.bat", "pause" };

            CommandRunner.runCommand_OpenShell("cmd.exe", ((string[])commandList).ToList());
        }