NebuTech / NBMiner

GPU Miner for ETH, RVN, BEAM, CFX, ZIL, AE, ERGO
https://nbminer.com
3.18k stars 521 forks source link

NodeJs childprocess throw logs like error #961

Open ihor-protsenko-theraven opened 1 year ago

ihor-protsenko-theraven commented 1 year ago

The problem is all logs from NBminer shown like errors

In my case, for running miner I use this.miningProcess = childProcess.spawn( 'cmd.exe', [' runas /noprofile /user:Administrator /c',"${nbminerPath}", ...args], { shell: true } );

also, I use stdout.onfor showing logs on the client this.miningProcess.stdout.on('data', (data) => { this.loggerService.logMiningData(data, this.miningProcess); });