RE: [PHP] exec from process (deamon) without shell

From: Date: Thu, 01 Mar 2007 23:06:57 +0000
Subject: RE: [PHP] exec from process (deamon) without shell
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-249690@lists.php.net to get a copy of this message
> -----Original Message----- > From: Richard Lynch [mailto:ceo@l-i-e.com] > Sent: Friday, March 02, 2007 12:37 AM > To: lists@dwsasia.com > Cc: Roman Neuhauser; 'PHP Mailing' > Subject: Re: [PHP] exec from process (deamon) without shell > > Add a nice clean line to the end of your PHP scripts: > > exit 0; //exit cleanly > > If your PHP scripts' last function call returns, say, -1, and then PHP > just passes that back on out, it's probably going to look like an > error code to the outermost shell, if you see what I mean... > > I'm not promising this is how it actually works; this is just a theory. > [Peter Lauri - DWS Asia] I will take a look at that tomorrow; right now it is 1am and time for bed :) I will keep you updated on that one to inform you if your theory was working :)

« previous php.general (#249690) next »