Call a Java app with a parameter but never wait for the answer
<p>What I want to do is when an user logs in to call a Java app from the PHP server. The app to index some content and process it and save it to a database. But what I want to really do, is to call it and nevermind what it does and never wait for the answer. Like a cronjob on demand. Is this possible?</p>

<p>UPDATE:</p>

<p>Is shell_exec a solution? 
$res = shell_exec('java Myprogram');  </p>
