简体   繁体   English

从批处理文件运行rake

[英]Running rake from batch file

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. 当我从批处理文件(.bat)中运行rake时,它将在rake脚本完成后立即退出,并且不会在它之后执行任何命令。

eg for the following, it will execute rake but not change directories 例如,对于以下内容,它将执行rake但不更改目录

rake 
cd ..

Anyone know how to stop this behaviour? 有谁知道如何阻止这种行为?

你要:

call rake

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM