title: Running Windows .exe file with multiple arguments using Java ProcessBuilder is not producing any output file as expected
body: <p>I am trying to run an external .exe program in Windows 7 from my Java code using ProcessBuilder</p>
  
  <pre><code>ProcessBuilder pb = new ProcessBuilder("C:\\hMetis\\1.5.3-win32\\hmetis.exe", "test.hgr", "2", "1", "10", "1", "1", "1", "0", "0");
  Process process = pb.start();
  </code></pre>
  
  <p>However, when I run this standalone .exe from Windows using cmd it outputs the results in the command prompt as well as producing a file containing the results. I am not seeing any of these two happening while running the .exe from Java</p>
  
  <p>Any kind suggestions what I am missing out?</p>