Re: Daemonising to continue asynchronously
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: Daemonising to continue asynchronously

From: Andy Jeffries <news@andyjeffries.co.uk>
Date: Mon Apr 24 2006 - 20:49:09 CEST

On Mon, 24 Apr 2006 09:50:59 -0700, NC wrote:
>> I've got a script which calls (via exec) "php myscript.php
>> --params=here".
>
> Why not use "php myscript.php --params=here &"?

Because it still seems to wait on the script finishing before continuing.

Cheers,

Andy

-- 
Andy Jeffries MBCS CITP ZCE   | gPHPEdit Lead Developer
http://www.gphpedit.org       | PHP editor for Gnome 2
http://www.andyjeffries.co.uk | Personal site and photos
Received on Mon May 1 03:03:17 2006