Open yangcore opened 6 months ago
Niva.api.process.exec('cmd',['/c','C:\Users\user\Desktop\vue-project\src\silent_exec.bat']).then(res=>{ console.log(res) }) 会出现一闪而过的黑窗口,如何解决??
bat 中加上 pause 试试
Niva.api.process.exec('cmd',['/c','C:\Users\user\Desktop\vue-project\src\silent_exec.bat']).then(res=>{ console.log(res) }) 会出现一闪而过的黑窗口,如何解决??