title: Executing bash script with tilde in path
body: <p>I am trying to execute in linux:</p>
  
  <pre><code>command[0] = "~/test/bin/runScript_sh";
  Runtime.getRuntime().exec(command);
  </code></pre>
  
  <p>But get an exception 
  java.io.IOException: Cannot run program<br>
  error=2, No such file or directory</p>
  
  <p>Probably because it can not evaluate tilde.</p>
  
  <p>What can be done?</p>