drush core-executefor drush 7x
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 4 option/s:
--escape : Escape parameters before executing them with the shell. Default is escape; use --escape=0 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
-
Comments
comments powered by Disqus