mirror of
https://github.com/yiisoft/yii.git
synced 2026-03-12 11:06:54 +01:00
Allowed returning integer values as application exit code in CConsoleCommand actions. Application will now exit with the given integer values as exit code. This is better than just exit(1) because onAfterAction event is called And you can use the return value when doing Yii::app()->getCommandRunner()->run(...) to run a specific command inside an other command.
3.9 KiB
3.9 KiB