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


    --no-escape : no-escape


    --ssh-options : ssh-options


    --tty : tty


    --notify : notify


    --druplicon : druplicon


    --xh-link : xh-link

  • Examples

    Retrieve latest code from git

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

  • Comments

    comments powered by Disqus