Reply to Re: [PHP] forking off in php

Your name:

Reply:


Posted by Marcus Bointon on 10/05/20 11:33

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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация