title: Runtime.getRuntime().exec returns empty string
body: <p>This is the code I use:</p>
  
  <pre><code>    Runtime runtime = Runtime.getRuntime();
      Process process = runtime.exec("cmd /C cd C:/Users/ASUS/Desktop/semantics/semantics/bin");
      process = runtime.exec("java test \"abc\" \"def\"");
      InputStream is = process.getInputStream();
      InputStreamReader isr = new InputStreamReader(is);
      BufferedReader br = new BufferedReader(isr);
      String line = "", tmp;
  
      while ((tmp = br.readLine()) != null) {
          line += tmp;
      }
  
      System.out.println(line);
  </code></pre>
  
  <p>I tried to use commands such as "cmd /C dir" and i got a proper return value.</p>
  
  <p>And this is my test application :</p>
  
  <pre><code>import semantics.Compare;
  public class USAGE {
  public static void main(String[] args) {        
  String a = args[0];
  String b = args[1];
  Compare c = new Compare(a,b);
  System.out.println(c.getResult());
  }
  }
  </code></pre>