exec i baggrunden
HejJeg har et program som kører i længere tid, men er det mulig at få php til bare at sætte det i gang i baggrunden?
Jeg forstår intet af svaret i http://www.eksperten.dk/spm/133573 !
Men hvordan gør man dette (tekst taget fra http://www.php.net/manual/en/function.exec.php):
"Note: If you start a program using this function and want to leave it running in the background, you have to make sure that the output of that program is redirected to a file or some other output stream or else PHP will hang until the execution of the program ends."
