drush core-executefor drush 6x

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

drush core-execute

  • Aliases

    core-execute has 2 alias/es:

    drush exec

    drush execute

  • Arguments

    core-execute accepts 1 argument/s:

    command : The shell command to be executed.

  • Options

    core-execute accepts 3 option/s:

    --ssh-options : A string of extra options that will be passed to the ssh command (e.g. "-p 100")

    --tty : Create a tty (e.g. to run an interactive program).

    --escaped : Command string already escaped; do not add additional quoting.

  • Examples

    Retrieve latest code from git

    drush core-execute git pull origin rebase

  • Comments

    comments powered by Disqus