Re: forking off in php

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxx | http://www.synchromedia.co.uk

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux