Hello,

I need to start a php-based socket server that doesn't die if the client
closes their browser window.

Is there another (maybe cleaner) method to accomplish this, other than

exec('bash -c "exec nohup setsid php server.php > /dev/null 2>&1 &"');

?

Thanks

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to