I have been looking at a thread java input.readLine hangs after starting a powershell script
which is exactly what I have done, but in JDK 1.6, we do not have ProcessBuilder - redirectOutput and Redirect to.
So is there any way to solve the waiting/hanging?