有人可以帮助我找到使用java脚本执行批处理文件的解决方案,我目前正在使用nw.js,并且我尝试了几个适用于.exe的东西,但没有对于蝙蝠使用Java脚本执行.bat文件
var execFile = require
('child_process').execFile, child;
child = execFile('C:\\WorkLog\\Software\\abc.exe', //works
//child = execFile('C:\\PDFRotation\\Run.bat', //not working
看起来像node.js – npocmaka
@npocmaka nw.js是一个JS库,用于从DOM调用节点模块。 –