Please sign in to comment.
Allowed returning exit code in console actions
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.
- Loading branch information...
Showing with 30 additions and 7 deletions.