title: traceroute command not working in android
body: <p>I am trying to execute <code>traceroute</code> command following way:</p>
  
  <pre><code>Runtime r = Runtime.getRuntime();
  Process p = r.exec("traceroute  google.com");
  BufferedReader in = new BufferedReader(new InputStreamReader(p.getInputStream()));
  while ((inputLine = in.readLine()) != null) {
              Log.d(tag,inputLine);
  }
  </code></pre>
  
  <p>But it is giving me the following error:</p>
  
  <blockquote>
    <blockquote>
      <p>java.io.IOException: Error running exec().<br>
      Commands: [traceroute, 202.164.36.66]<br>
      Working Directory: null<br>
      Environment: null</p>
    </blockquote>
  </blockquote>
  
  <p>It works fine for <code>ping</code> or any other command of linux, please help.</p>