In your example tasks script, instead of this:

  drush_shell_exec("drush $self_name vset preprocess_js 0");

you can do this:

  variable_set('preprocess_js', 0);

Comments

kostajh’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit 2a20ad8 on info-file, class, tests, overrides, yaml, alias-id-check, 7.x-1.8, refactor by kostajh:
    Issue #1507322: Note that drush php-script runs your php script in a...