> -----Original Message----- > From: Richard Lynch [mailto:ceo@xxxxxxxxx] > Sent: Friday, March 02, 2007 12:37 AM > To: lists@xxxxxxxxxxx > Cc: Roman Neuhauser; 'PHP Mailing' > Subject: Re: 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 :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php