【发布时间】:2013-07-10 02:55:00
【问题描述】:
我在 windows7 系统的 C:\Behat 中安装了 behat。我已将路径 C:\Behat\bin 添加到环境变量 'Path' .... 但是当我运行 php bin\behat 或 php behat 时,我只收到一条错误消息“无法打开输入文件” 但是,当我运行 php "C:\Behat\bin\behat" 时,它可以工作! 谁能告诉我如何解决这个问题。 谢谢
【问题讨论】:
-
也就是说它运行正常?
-
我在某处读到我们应该能够通过键入 behat 或 bin\behat 来运行 behat :S
-
C:\Behat\bin 中是否有 BEHAT.EXE?如果有,请不要将
php放在它前面。