pecl binary returns success code on fails
| From: | Artiom Neganov | Date: | Sun, 08 Mar 2015 11:08:01 +0000 |
| Subject: | pecl binary returns success code on fails | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-12648@lists.php.net to get a copy of this message | ||
Hello
I was going to create a bug report but couldn't figure out how to do this
properly on bugs.php.net with its highly unfriendly and overloaded with
specialist-level details.
When installing an extension with pecl binary with the command: *pecl
install <extension>*, if the installation begins but then fails (on
compilation), pecl returns 0 (Zero) code - i.e. *success*, which makes it
hard to use it from scripts.
regards,
Artiom