title: How to use pipes in a java Runtime.exec
body: <p>I'm getting null as the output of this command line.</p>
  
  <pre><code>Process result = Runtime.getRuntime().exec(new String[]{"/usr/bin/find",baseDir+"/..","-type","f","|","/usr/bin/grep",filter1,"|","/usr/bin/grep",filter2,"|","/usr/bin/wc","-l"});
  result.waitFor();
  BufferedReader echo = new BufferedReader(new InputStreamReader(result.getInputStream()));
  writer.print(echo.readLine());
  echo.close();
  </code></pre>
  
  <p>Is it the pipes "|"?</p>