if(Client.OS.equalsIgnoreCase("OSX")){
try {
Process process = Runtime.getRuntime().exec(Client.OSX_EXE);
} catch (IOException e) {
e.printStackTrace();
}
}
else{
try {
Process process = Runtime.getRuntime().exec(Client.WINDOWS_EXE);
} catch (IOException e) {
e.printStackTrace();
}
}
So I'm opening an application within a Java application, and it works as expected on Mac, however on windows, it makes the application on the sub process stop responding and crash. I tried running the Windows executable by itself and it works fine performing the same tasks.