On Saturday 22 May 2004 06:51 am, Martin Helie wrote:
> Hello,
>
> I need to start a php-based socket server that doesn't die if the client
> closes their browser window.

php.net/pcntl
>
> 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

-- 
Evan Nemerson
[EMAIL PROTECTED]
http://coeusgroup.com/en

--
"If anyone can show me, and prove to me, that I am wrong in thought or deed, I 
will gladly change. I seek the truth, which never yet hurt anybody. It is 
only persistence in self-delusion and ignorance which does harm."

-Marcus Aurelius


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

Reply via email to