I nead to run some .exe file minimized with arguments. Right now with my code i can run it in normal window. Here is my code:
ProcessBuilder pb = new ProcessBuilder(directoryString, myArg1, myArg2);
Process pr = pb.start();
I found this solution:
start /min "" directoryString
But i don't know how to use it on ProcessBuilder with process with arguments.