NebuTech / NBMiner

GPU Miner for ETH, RVN, BEAM, CFX, ZIL, AE, ERGO

Home Page:https://nbminer.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NodeJs childprocess throw logs like error

ihor-protsenko-theraven opened this issue · comments

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.on for showing logs on the client
this.miningProcess.stdout.on('data', (data) => { this.loggerService.logMiningData(data, this.miningProcess); });