Closed (fixed)
Project:
Drush
Version:
All-versions-4.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 May 2010 at 20:51 UTC
Updated:
25 Feb 2013 at 23:25 UTC
I've built a CMD Windows batch file and when I execute it, the script exits after the first command regardless of whether or not it was successful. e.g.
drush dl advanced_help
drush en advanced_help
Any thoughts? I'm trying to make a batch file that will download Drupal and install/enable all of the modules I use.
Comments
Comment #1
mlconnor commentedTurns out that in order to call batch files (e.g. drush.bat) from within a batch file, you have to use the CALL command or it will exit after execution. I changed my batch file up to call into the Drush PHP script directly instead...
Comment #2
mstrelan commentedEven easier ...