0

我是 GIT 和 heroku 的新手。

$ sh target\bin\worker.bat
sh: targetbinworker.bat: No such file or directory.

我在哪里犯错?

4

2 回答 2

1

Unix shell 不理解 Windows 批处理文件或反斜杠作为路径分隔符。尝试打开 Windows 命令提示符并target\bin\worker.bat在其中运行。

于 2012-11-01T22:01:08.287 回答
0

看起来您在 linux 控制台上使用反斜杠。尝试

sh 目标/bin/worker.bat

(这可能也不起作用,因为 .bat 是 Windows 扩展;没有类似 target/bin/worker.sh 的东西吗?)

于 2012-11-01T16:20:11.080 回答