【发布时间】:2014-09-22 13:36:01
【问题描述】:
我正在使用 exec 执行一些 DOS 命令:
java -jar D:\selenium\selenium-server-standalone-2.40.0.jar -htmlSuite "*firefox3 C:\Users\AppData\Local\Mozilla Firefox\firefox.exe" "http://google.com" "D:\selenium\TS2.html" "D:\selenium\Res3.html"
喜欢
exec(['java','-jar','D:/selenium/selenium-server-standalone-2.40.0.jar','-htmlSuite','"*firefox3','C:/Users/AppData/Local/Mozilla Firefox/firefox.exe"','"http://google.com"','"D:/selenium/TS2.html"','"D:/selenium/Res3.html"'], function(err, out, code) {
});
将错误显示为
HTML suite exception seen:
java.io.IOException: The filename, directory name, or volume label syntax is incorrect
请帮我执行这个命令 在此先感谢:)
【问题讨论】:
标签: javascript node.js selenium exec dos