Archive for september 3rd, 2010
Return value of a CakePHP Shell
vrijdag, september 3rd, 2010Another one I had to figure out by reading the source code: how to make your CakePHP Shell return something else than 0 in $?. It is very easy, if you let your main() return false, your Shell will return 1 in the console. Unfortunately it is not possible to return any other value, the [...]