Re: [PHP] bg execution

2004-05-22 Thread Evan Nemerson
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 p

[PHP] bg execution

2004-05-22 Thread Martin Helie
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 (htt