Running drush without a bunch of header info

by jenny on 21 March 2010 - 03:40pm in

Edit the wrapper script drush/drush and add a -q flag to the exec php call, like so:

# We check for a command line (cli) version of php, and if found use that.
which php-cli >/dev/null 2>&1
if [ "$?" = 0 ] ; then
  exec php
-cli $SCRIPT_PATH --php="php-cli" "$@"
# Alternatively we run with straight php, which works on most other systems.
  # The --php=`which php` is for Dreamhost, which behaves oddly.  See
exec php -q $SCRIPT_PATH --php=`which php` "$@"