title: PHP CLI process not terminating when done
body: <p>I have this in one PHP file:</p>
  
  <pre><code>echo shell_exec('nohup /usr/bin/php -f '.CRON_DIRECTORY.'testjob.php &gt; /dev/null 2&gt;&amp;1 &amp;');
  </code></pre>
  
  <p>and in testjob.php I have:</p>
  
  <pre><code>file_put_contents('test.txt',time()); exit;
  </code></pre>
  
  <p>And it all runs just dandy. However if I go to processes it's not terminating testjob.php after it runs.</p>