I have custom drush command on which I have couple exports. But after the first export others are not executing.
I using function drush_views_data_export()
And in this function we have such code which stoping exection next exports:

  // Because of a bug in the way that Drush 4 computes the name of functions to
  // call from a Drush command, we may end up getting called twice, so we just
  // don't do anything on subsequent invocations.
  static $already_run = FALSE;
  if ($already_run) {
    return;
  }
  $already_run = TRUE;

Trying find sulution...

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

AndrewsizZ created an issue. See original summary.

AndrewsizZ’s picture

Found two solutions
1. Added patch V1: check of second execution of same display
2. Added patch V2: delete check for second exection as we already have drush version 8, and this issue long time fixed