title: Asynchronous call to shell_exec() php
body: <p>I am running a command using shell_exec()</p>
  
  <p>Let's say I have 400 directories and I can not wait for the command to run completely. </p>
  
  <p>Is there a way, I can get the output Asynchronous?</p>
  
  <pre><code>$output = shell_exec('ls');
  echo "&lt;pre&gt;$output&lt;/pre&gt;";
  </code></pre>