title: process.waitFor() in android app returns "1"
body: <p>I'm useing an exmaple i found for execute shell commands.(<a href="http://madteam.co/news/2012/02/android-diy-making-a-shell-script-app/" rel="nofollow">Link</a>)</p>
  
  <p>when i running the example it works prefectly,</p>
  
  <p>but when i use the same code in my app it doesn't work because the return value is "1" instead of "0".
  <strong>This is where the problem begins :</strong></p>
  
  <pre><code>try 
  {
  proc.waitFor();
  }
  catch (InterruptedException e){} 
  </code></pre>
  
  <p>The manifest.xml is the same and both apps are using jre1.6
  i have searched for every difference but i didn't find any.</p>
  
  <p>thanks.</p>