Re: Run process in background

From: Date: Wed, 14 Nov 2007 15:18:21 +0000
Subject: Re: Run process in background
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-264489@lists.php.net to get a copy of this message
On Nov 14, 2007 10:10 AM, Viacheslav Chumushuk <viacheslav88@gmail.com> wrote: > Hello. > > I want to run process from my php script in background. > I try different functions from functions list but all of them whaiting for > process ending. > > How can I run wget -b ... and finish my script, but wget must > still working? > > I use PHP5, Linux, Apache2. You can start by searching Google and the archives. This is brought up all the time. <? exec('wget -b ... >> /dev/null 2>&1 &'); ?> -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107 If at first you don't succeed, stick to what you know best so that you can make enough money to pay someone else to do it for you.

« previous php.general (#264489) next »