title: Java process builder does not complain about compilation of underlying script
body: <p>Python code, in <code>test.py</code> (notice the indentation error, which won't compile):</p>
  
  <pre><code>def add_num(a, b):
      print("nums are", a, b)
    sum = a+b
      print("sum::", sum)
  </code></pre>
  
  <p>Java code:</p>
  
  <pre><code>ProcessBuilder pb = new ProcessBuilder("python test.py arg1, arg2");
  Process p = pb.start();
  
  System.out.println("is alive::"+p.isAlive());
  </code></pre>
  
  <p>output:</p>
  
  <pre><code>is alive::true
  </code></pre>
  
  <p>Which is little awkward. At least it should say is <code>alive::false</code> because the script has compilation issue so the process should not be up but rather it says it is alive.</p>
  
  <p>Although the Python script has compilation issues the java process still continues to run and does not complain. Why is that?</p>