drush core:executefor drush 9x


Execute a shell command. Usually used with a site alias.

drush core:execute

  • Aliases


    core:execute has 3 alias/es:


    drush exec

    drush execute

    drush core-execute

  • Arguments


    core:execute accepts 1 argument/s:


    args : The shell command to be executed.

  • Options


    core:execute accepts 7 option/s:


    --escape

    --escape : escape

    --no-escape

    --no-escape : no-escape

    --ssh-options

    --ssh-options : ssh-options

    --tty

    --tty : tty

    --notify

    --notify : notify

    --druplicon

    --druplicon : druplicon

    --xh-link

    --xh-link : xh-link

  • Examples


    Retrieve latest code from git

    drush core:execute git pull origin rebase -- --no-ff

  • Comments


    comments powered by Disqus