core-execute

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

drush core-execute

Aliases:

Arguments:

command : The shell command to be executed.

Options:

--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.

Examples:

Retrieve latest code from git

drush core-execute git pull origin rebase