----- Original Message ----- > > 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.
Use system() and background it with &: $cmd = "tail -f /var/log/messages &"; system($cmd); -eric -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php