drush core-execute

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

Drush Command

drush core-execute


command : The shell command to be executed.


drush exec
drush execute


--escape : Escape parameters before executing them with the shell. Default is escape; use --no-escape to disable.
--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.


Retrieve latest code from git

drush core-execute git pull origin rebase