Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-8237

bin/EmailProcessor.php should not exit when running in cli mode

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.4.1
    • Fix Version/s: 3.4.2
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      If run from the cli, the bin/EmailProcessor.php file calls exit when it is done.

      If this script is called from another script (like drush) it causes that script to end abnormally when in fact there is no error.

      The attached patch alters the behavior so that it will not exit.

      There seem to be other bin files that similarly exit.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              jamie Jamie McClelland
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: