Closed (fixed)
Project:
Drush
Version:
8.x-6.x-dev
Component:
Core Commands
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Apr 2013 at 04:42 UTC
Updated:
10 Sep 2013 at 21:41 UTC
I am not sure if I just need help or if this is a bug.
drushrc.php that has a parameter that includes a string with spaces, such as the drush sql-query command with a query
$options['shell-aliases']['tpd'] = "!drush sql-sync @dev && drush sql-query 'UPDATE users SET mail = \"user@example.com\" WHERE uid > 1' && drush updb";drush tpd.
drush sql-query 'UPDATE users SET mail = "user@example.com" WHERE uid > 1'. There is no error.
Comments
Comment #1
moonray commentedSame problem with the following shell alias:
$options['shell-aliases']['devel'] = "!drush en -y devel && drush rap 'anonymous user' 'access devel information' && drush rap 'authenticated user' 'access devel information'";Running it I get the following output:
Comment #2
moshe weitzman commentedFixed in Drush 6 just now as part of https://github.com/drush-ops/drush/pull/40. The fix there uses a php 5.3 only function so we need to backport different for drush5. Help wanted.