Just try to run it in the background. I have been using it even such way: exec("$command >csa.log 2>&1 &");
> exec("sudo /etc/rc.d/init.d/dbora stop"); > > Everything works EXCEPT I cannot get it to return from the 'dbora start' > command. The PHP script just sits there and won't budge. I've tried > putting an exit command into the dbora script to make it die when it's > finished but that doesn't seem to work either. -------------------------------- Best regards, Maxim Bubnov, Software Engineer, Stelt Telecom NN [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php