title: How to check whether a NON blocking exe is complete in java?
body: <p>I am running a NON -blocking exe from java using Process builder.Below is my call to run it.</p>
  
  <pre><code>Process process = new ProcessBuilder(command).start();
  </code></pre>
  
  <p>It works fine,But i need to read the process output.i can use 
       process.getOutputStream() for blocking calls ,since it is non blocking i am not able to get the output.Is there a way to get it?</p>