title: EOF while looking for matching `"' error
body: <pre><code>sh -c "cd /home/dipankar/NetBeansProjects/TransBench/Hindi;./mat"
  </code></pre>
  
  <p>When executing following command in linux terminal its executes  perfectly. However, when I am trying to run the same using java runtime its gives the following error :</p>
  
  <pre><code>ERROR&gt;/home/dipankar/NetBeansProjects/TransBench/Hindi;./mat": -c: line 0: unexpected EOF while looking for matching `"'
  ERROR&gt;/home/dipankar/NetBeansProjects/TransBench/Hindi;./mat": -c: line 1: syntax error: unexpected end of file
  </code></pre>
  
  <p>Please help I am new to linux.</p>
  
  <pre><code>Runtime rt = Runtime.getRuntime();               
  Process proc = rt.exec("sh -c \"cd /home/dipankar/NetBeansProjects/TransBench/Hindi;./mat\"");
  proc.waitFor();
  </code></pre>