NodeJs childprocess throw logs like error #973
Unanswered
ihor-protsenko-theraven
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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 clientthis.miningProcess.stdout.on('data', (data) => { this.loggerService.logMiningData(data, this.miningProcess); });
Any ideas fellas?
Beta Was this translation helpful? Give feedback.
All reactions