Re: forking off in php
| From: | Marcus Bointon | Date: | Mon, 21 Nov 2005 17:58:40 +0000 |
| Subject: | Re: forking off in php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-226226@lists.php.net to get a copy of this message | ||
On 21 Nov 2005, at 17:47, Jay Blanchard wrote:
It would have been nice to see your command line. Add '&' i.e.You don't need to do that - the forking script will start, spawn a child process then exit, so adding & will do nothing. Having said that, you could achieve something similar by not forking and using nohup (look it up with man) with &, however, that will mean it runs as you, whereas a forked process can easily switch users and drop privileges for increased security. Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture marcus@synchromedia.co.uk | http://www.synchromedia.co.uk