Re: Custom pipe script failure code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux