Re: Custom pipe script failure code

From: Date: Wed, 03 Oct 2007 02:31:22 +0000
Subject: Re: Custom pipe script failure code
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-262665@lists.php.net to get a copy of this message
So is there a way to exit(); with some sort of code to put that message back into the queue? I have read that I need to exit(75); but that does not work. If anyone could help, that would be more than fantastic.
That's exactly what you need. What doesn't work exactly? $ php -a Interactive mode enabled <?php echo "Exit code should be 75\n"; exit(75); Exit code should be 75 $ echo $? 75 -- Postgresql & php tutorials http://www.designmagick.com/

« previous php.general (#262665) next »