【发布时间】:2012-10-30 12:47:45
【问题描述】:
我试图在 Windows XP 上运行脚本编辑器并得到 无法连接到 localhost:7261。故障排除部分有相同的问题here。建议是延迟运行脚本以启动节点。我在 bin/scripted.bat 中使用以下批处理脚本延迟了它
start /MIN cmd /c node %rootdir%\server\scripted.js^>^>scripted.log
timeout /t 30
start "" "http://localhost:7261/editor.html?%patharg%"
我遇到同样的错误无法连接到 localhost:7261。
如何配置脚本在节点运行完成后运行?
我使用脚本版本 0.2.0 和节点版本 0.8.0-x86。
【问题讨论】:
-
exact same question 已关闭。请考虑改写它,也许可以添加更多细节,以便正确回答。
-
向此处的脚本邮件列表发送消息:groups.google.com/forum/?fromgroups#!forum/scripted-dev
标签: javascript windows-7 batch-file editor