I would like to send the same command multiple times to cmd. My source code is here:
My program doesn't complete the loop. It works about 200times and hang without any error message. I can only close program by end process.
Process process = Runtime.getRuntime ().exec ("cmd");
OutputStream stdin = process.getOutputStream();
Help me please.
Sorry for repeating topics.