title: shell_exec, popen, exec, passthru not working in codeigniter controller
body: <p>I have a requirement where i need to run a c program from codeigniter controller, the php shell commands are not wokring in the controller but, when the same commands are used from a simple php(without codeigniter) is working fine.</p>
  
  <ul>
  <li>I have checked the php.ini settings the shell_exec, exec, popen are enabled.</li>
  </ul>
  
  <p>please help...</p>
  
  <p>the command iam using is </p>
  
  <pre><code>$output = shell_exec("./hello"); //hello.c prints hello world.
  echo $output;
  </code></pre>
  
  <p>the path printed using pwd was my home folder path where the C file is present.
  the same command (shell_exec("./hello");) wont work in codeigniter.</p>