Runtime.getRuntime failed to get output same time but later
问题 I'm currently making firefox addon development GUI tool using Java. However I am stuck when trying to get output of a .bat file. When I run .bat file using java I can see the output, but there are 3 commands written in the bat file. When first command executes I can get the output simultaneously. But when it execute second command output not coming. And when .bat file exist I get all the output which didn't come simultaneously. I'm getting output immediately when it execute: call "C:\mozilla