views:

15

answers:

1

When I run rake from within a batch file (.bat) it will exit immediately after the rake script has completed and will not execute any commands after it.

e.g. for the following, it will execute rake but not change directories

rake 
cd ..

Anyone know how to stop this behaviour?

+1  A: 

you want:

call rake
Andrew Bullock