I currently have some code that executes a task:
this.cmds = new String[] { "cmd.exe", "/c", customCmd };
ProcessBuilder pb = new ProcessBuilder(cmds);
try {
pb.start();
} catch (IOException e) {
e.printStackTrace();
}
This works perfectly and does what I expected.
However, I would like to actually display a visible cmd window when running this specific task.
Is this possible?
Thanks for your time,
Benna
/k
argument).