预执行操作-自定义脚本
try {
const resStr = apt.execute('D:/appSoft/xinnet-crypto-1.0.0.jar', [password, data])
.catch(error => {
console.error('执行失败:', error);
});
console.log("jar-运行结果", resStr);
} catch (e) {
console.error("xxxx---"+e.message);
}
执行后报错, 错误信息还是乱码
好的 应该是文件或者存储位置的问题
jar包位置没有问题(复制到该位置的), 关键是乱码, 不知道具体错误信息是啥