Re: executing background process from php

From: Date: Mon, 25 May 2009 12:43:11 +0000
Subject: Re: executing background process from php
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-293127@lists.php.net to get a copy of this message
Hi, > I am newbie with this subject and really need to know it... > I need a good and clear samples of 'executing background process from > > php<http://www.webdeveloper.com/forum/showthread.php?t=90061>' > > where can I find it? The manual I would imagine. To execute a background task you need to redirect all output streams, like this (on Unix - on Windows I have no idea I'm afraid): <?php exec('sleep 5 >/dev/null 2>&1 &'); ?> -- Richard Heyes HTML5 graphing: RGraph (www.rgraph.net - updated 23rd May) PHP mail: RMail (www.phpguru.org/rmail) PHP datagrid: RGrid (www.phpguru.org/rgrid) PHP Template: RTemplate (www.phpguru.org/rtemplate) PHP SMTP: http://www.phpguru.org/smtp

« previous php.general (#293127) next »